```
2021.02.11 23:27:54.667622 [ 92 ] {4f54a30b-1b30-453b-a1c3-482b0394d8d2} <Debug> executeQuery: (from [::1]:59602, using production parser) SELECT 1 - 1 FROM X RIGHT JOIN Y ON (X.id + 1) = Y.id SETTINGS join_use_nulls = 1
2021.02.11 23:27:54.673130 [ 92 ] {4f54a30b-1b30-453b-a1c3-482b0394d8d2} <Trace> ContextAccess (default): Access granted: SELECT(id) ON default.Y
2021.02.11 23:27:54.673532 [ 92 ] {4f54a30b-1b30-453b-a1c3-482b0394d8d2} <Trace> InterpreterSelectQuery: FetchColumns -> Complete
2021.02.11 23:27:54.674310 [ 92 ] {4f54a30b-1b30-453b-a1c3-482b0394d8d2} <Debug> HashJoin: Right sample block: Y.id Int32 Int32(size = 0)
2021.02.11 23:27:54.675143 [ 92 ] {4f54a30b-1b30-453b-a1c3-482b0394d8d2} <Fatal> : Logical error: 'Arguments of 'minus' have incorrect data types: '1' of type 'UInt8', '1' of type 'UInt8''.
2021.02.11 23:27:54.676530 [ 174 ] {} <Fatal> BaseDaemon: ########################################
2021.02.11 23:27:54.676918 [ 174 ] {} <Fatal> BaseDaemon: (version 21.3.1.5991, build id: 3F6B5C6A080DC28C56ECEA3269A442D8D2067C24) (from thread 92) (query_id: 4f54a30b-1b30-453b-a1c3-482b0394d8d2) Received signal Aborted (6)
2021.02.11 23:27:54.677180 [ 174 ] {} <Fatal> BaseDaemon: 
2021.02.11 23:27:54.677511 [ 174 ] {} <Fatal> BaseDaemon: Stack trace: 0x7f0bb64a618b 0x7f0bb6485859 0x10cdaa56 0x10cdab13 0x13dc4061 0x1428808c 0x142875b3 0x130f8368 0x130f714e 0x1317b5a3 0x1317b940 0x1317b4f5 0x1317c65b 0x19913c10 0x19914752 0x1a118726 0x1a11f720 0x1a11ba91 0x1a118a87 0x1a11c3a9 0x1a118af3 0x1a0fadb9 0x1a0edb73 0x1a0f3bc2 0x1a0f70d9 0x19e64ddf 0x19e614a3 0x19e5dfd3 0x19e5cd8c 0x1a14531c 0x1a142e66 0x1a142771 0x19de8bf7 0x19de7375 0x1a35df0d 0x1a35c7ba 0x1ac90e72 0x1ac9d278 0x1e51a40c 0x1e51ac10 0x1e657d83 0x1e654c0d 0x1e653a98 0x7f0bb665b609 0x7f0bb6582293
2021.02.11 23:27:54.677983 [ 174 ] {} <Fatal> BaseDaemon: 4. gsignal @ 0x4618b in /usr/lib/x86_64-linux-gnu/libc-2.31.so
2021.02.11 23:27:54.678267 [ 174 ] {} <Fatal> BaseDaemon: 5. abort @ 0x25859 in /usr/lib/x86_64-linux-gnu/libc-2.31.so
2021.02.11 23:27:54.678842 [ 174 ] {} <Fatal> BaseDaemon: 6. ./obj-x86_64-linux-gnu/../src/Common/Exception.cpp:50: DB::handle_error_code(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0x10cdaa56 in /workspace/clickhouse
2021.02.11 23:27:54.679384 [ 174 ] {} <Fatal> BaseDaemon: 7. ./obj-x86_64-linux-gnu/../src/Common/Exception.cpp:57: DB::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool) @ 0x10cdab13 in /workspace/clickhouse
2021.02.11 23:27:54.694883 [ 174 ] {} <Fatal> BaseDaemon: 8. ./obj-x86_64-linux-gnu/../src/Common/Exception.h:38: DB::Exception::Exception<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&) @ 0x13dc4061 in /workspace/clickhouse
2021.02.11 23:27:54.706892 [ 174 ] {} <Fatal> BaseDaemon: 9. ./obj-x86_64-linux-gnu/../src/Functions/FunctionBinaryArithmetic.h:1296: DB::FunctionBinaryArithmetic<DB::MinusImpl, DB::NameMinus, true, true>::executeImpl(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName> > const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long) const @ 0x1428808c in /workspace/clickhouse
2021.02.11 23:27:54.718838 [ 174 ] {} <Fatal> BaseDaemon: 10. ./obj-x86_64-linux-gnu/../src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants<DB::MinusImpl, DB::NameMinus, true, true>::executeImpl(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName> > const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long) const @ 0x142875b3 in /workspace/clickhouse
2021.02.11 23:27:54.727671 [ 174 ] {} <Fatal> BaseDaemon: 11. ./obj-x86_64-linux-gnu/../src/Functions/IFunctionImpl.h:203: DB::IFunction::executeImplDryRun(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName> > const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long) const @ 0x130f8368 in /workspace/clickhouse
2021.02.11 23:27:54.736830 [ 174 ] {} <Fatal> BaseDaemon: 12. ./obj-x86_64-linux-gnu/../src/Functions/IFunctionAdaptors.h:158: DB::DefaultExecutable::executeDryRun(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName> > const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long) const @ 0x130f714e in /workspace/clickhouse
2021.02.11 23:27:54.744748 [ 174 ] {} <Fatal> BaseDaemon: 13. ./obj-x86_64-linux-gnu/../src/Functions/IFunction.cpp:291: DB::ExecutableFunctionAdaptor::executeWithoutLowCardinalityColumns(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName> > const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long, bool) const @ 0x1317b5a3 in /workspace/clickhouse
2021.02.11 23:27:54.752780 [ 174 ] {} <Fatal> BaseDaemon: 14. ./obj-x86_64-linux-gnu/../src/Functions/IFunction.cpp:273: DB::ExecutableFunctionAdaptor::defaultImplementationForNulls(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName> > const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long, bool) const @ 0x1317b940 in /workspace/clickhouse
2021.02.11 23:27:54.760406 [ 174 ] {} <Fatal> BaseDaemon: 15. ./obj-x86_64-linux-gnu/../src/Functions/IFunction.cpp:286: DB::ExecutableFunctionAdaptor::executeWithoutLowCardinalityColumns(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName> > const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long, bool) const @ 0x1317b4f5 in /workspace/clickhouse
2021.02.11 23:27:54.768203 [ 174 ] {} <Fatal> BaseDaemon: 16. ./obj-x86_64-linux-gnu/../src/Functions/IFunction.cpp:448: DB::ExecutableFunctionAdaptor::execute(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName> > const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long, bool) const @ 0x1317c65b in /workspace/clickhouse
2021.02.11 23:27:54.809645 [ 174 ] {} <Fatal> BaseDaemon: 17. ./obj-x86_64-linux-gnu/../src/Interpreters/ActionsDAG.cpp:237: DB::ActionsDAG::addFunction(std::__1::shared_ptr<DB::IFunctionOverloadResolver> const&, std::__1::vector<DB::ActionsDAG::Node*, std::__1::allocator<DB::ActionsDAG::Node*> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, bool, bool) @ 0x19913c10 in /workspace/clickhouse
2021.02.11 23:27:54.851147 [ 174 ] {} <Fatal> BaseDaemon: 18. ./obj-x86_64-linux-gnu/../src/Interpreters/ActionsDAG.cpp:191: DB::ActionsDAG::addFunction(std::__1::shared_ptr<DB::IFunctionOverloadResolver> const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, DB::Context const&, bool) @ 0x19914752 in /workspace/clickhouse
2021.02.11 23:27:54.896728 [ 174 ] {} <Fatal> BaseDaemon: 19. ./obj-x86_64-linux-gnu/../src/Interpreters/ActionsVisitor.cpp:501: DB::ScopeStack::addFunction(std::__1::shared_ptr<DB::IFunctionOverloadResolver> const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) @ 0x1a118726 in /workspace/clickhouse
2021.02.11 23:27:54.939753 [ 174 ] {} <Fatal> BaseDaemon: 20. ./obj-x86_64-linux-gnu/../src/Interpreters/ActionsVisitor.h:155: DB::ActionsMatcher::Data::addFunction(std::__1::shared_ptr<DB::IFunctionOverloadResolver> const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) @ 0x1a11f720 in /workspace/clickhouse
2021.02.11 23:27:54.982863 [ 174 ] {} <Fatal> BaseDaemon: 21. ./obj-x86_64-linux-gnu/../src/Interpreters/ActionsVisitor.cpp:971: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::__1::shared_ptr<DB::IAST> const&, DB::ActionsMatcher::Data&) @ 0x1a11ba91 in /workspace/clickhouse
2021.02.11 23:27:55.025840 [ 174 ] {} <Fatal> BaseDaemon: 22. ./obj-x86_64-linux-gnu/../src/Interpreters/ActionsVisitor.cpp:546: DB::ActionsMatcher::visit(std::__1::shared_ptr<DB::IAST> const&, DB::ActionsMatcher::Data&) @ 0x1a118a87 in /workspace/clickhouse
2021.02.11 23:27:55.068468 [ 174 ] {} <Fatal> BaseDaemon: 23. ./obj-x86_64-linux-gnu/../src/Interpreters/ActionsVisitor.cpp:655: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::__1::shared_ptr<DB::IAST> const&, DB::ActionsMatcher::Data&) @ 0x1a11c3a9 in /workspace/clickhouse
2021.02.11 23:27:55.111519 [ 174 ] {} <Fatal> BaseDaemon: 24. ./obj-x86_64-linux-gnu/../src/Interpreters/ActionsVisitor.cpp:550: DB::ActionsMatcher::visit(std::__1::shared_ptr<DB::IAST> const&, DB::ActionsMatcher::Data&) @ 0x1a118af3 in /workspace/clickhouse
2021.02.11 23:27:55.155074 [ 174 ] {} <Fatal> BaseDaemon: 25. ./obj-x86_64-linux-gnu/../src/Interpreters/InDepthNodeVisitor.h:34: DB::InDepthNodeVisitor<DB::ActionsMatcher, true, std::__1::shared_ptr<DB::IAST> const>::visit(std::__1::shared_ptr<DB::IAST> const&) @ 0x1a0fadb9 in /workspace/clickhouse
2021.02.11 23:27:55.197631 [ 174 ] {} <Fatal> BaseDaemon: 26. ./obj-x86_64-linux-gnu/../src/Interpreters/ExpressionAnalyzer.cpp:410: DB::ExpressionAnalyzer::getRootActions(std::__1::shared_ptr<DB::IAST> const&, bool, std::__1::shared_ptr<DB::ActionsDAG>&, bool) @ 0x1a0edb73 in /workspace/clickhouse
2021.02.11 23:27:55.240217 [ 174 ] {} <Fatal> BaseDaemon: 27. ./obj-x86_64-linux-gnu/../src/Interpreters/ExpressionAnalyzer.cpp:1108: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1a0f3bc2 in /workspace/clickhouse
2021.02.11 23:27:55.282819 [ 174 ] {} <Fatal> BaseDaemon: 28. ./obj-x86_64-linux-gnu/../src/Interpreters/ExpressionAnalyzer.cpp:1492: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::__1::shared_ptr<DB::StorageInMemoryMetadata const> const&, bool, bool, bool, std::__1::shared_ptr<DB::FilterInfo> const&, DB::Block const&) @ 0x1a0f70d9 in /workspace/clickhouse
2021.02.11 23:27:55.324875 [ 174 ] {} <Fatal> BaseDaemon: 29. ./obj-x86_64-linux-gnu/../src/Interpreters/InterpreterSelectQuery.cpp:571: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x19e64ddf in /workspace/clickhouse
2021.02.11 23:27:55.367149 [ 174 ] {} <Fatal> BaseDaemon: 30. ./obj-x86_64-linux-gnu/../src/Interpreters/InterpreterSelectQuery.cpp:465: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::__1::shared_ptr<DB::IAST> const&, DB::Context const&, std::__1::shared_ptr<DB::IBlockInputStream> const&, std::__1::optional<DB::Pipe>, std::__1::shared_ptr<DB::IStorage> const&, DB::SelectQueryOptions const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, std::__1::shared_ptr<DB::StorageInMemoryMetadata const> const&)::$_2::operator()(bool) const @ 0x19e614a3 in /workspace/clickhouse
2021.02.11 23:27:55.410502 [ 174 ] {} <Fatal> BaseDaemon: 31. ./obj-x86_64-linux-gnu/../src/Interpreters/InterpreterSelectQuery.cpp:468: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::__1::shared_ptr<DB::IAST> const&, DB::Context const&, std::__1::shared_ptr<DB::IBlockInputStream> const&, std::__1::optional<DB::Pipe>, std::__1::shared_ptr<DB::IStorage> const&, DB::SelectQueryOptions const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, std::__1::shared_ptr<DB::StorageInMemoryMetadata const> const&) @ 0x19e5dfd3 in /workspace/clickhouse
2021.02.11 23:27:55.455998 [ 174 ] {} <Fatal> BaseDaemon: 32. ./obj-x86_64-linux-gnu/../src/Interpreters/InterpreterSelectQuery.cpp:153: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::__1::shared_ptr<DB::IAST> const&, DB::Context const&, DB::SelectQueryOptions const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) @ 0x19e5cd8c in /workspace/clickhouse
2021.02.11 23:27:55.501751 [ 174 ] {} <Fatal> BaseDaemon: 33. ./obj-x86_64-linux-gnu/../contrib/libcxx/include/memory:2068: std::__1::__unique_if<DB::InterpreterSelectQuery>::__unique_single std::__1::make_unique<DB::InterpreterSelectQuery, std::__1::shared_ptr<DB::IAST> const&, DB::Context&, DB::SelectQueryOptions&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&>(std::__1::shared_ptr<DB::IAST> const&, DB::Context&, DB::SelectQueryOptions&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) @ 0x1a14531c in /workspace/clickhouse
2021.02.11 23:27:55.545011 [ 174 ] {} <Fatal> BaseDaemon: 34. ./obj-x86_64-linux-gnu/../src/Interpreters/InterpreterSelectWithUnionQuery.cpp:327: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::__1::shared_ptr<DB::IAST> const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) @ 0x1a142e66 in /workspace/clickhouse
2021.02.11 23:27:55.588329 [ 174 ] {} <Fatal> BaseDaemon: 35. ./obj-x86_64-linux-gnu/../src/Interpreters/InterpreterSelectWithUnionQuery.cpp:249: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::__1::shared_ptr<DB::IAST> const&, DB::Context const&, DB::SelectQueryOptions const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) @ 0x1a142771 in /workspace/clickhouse
2021.02.11 23:27:55.630135 [ 174 ] {} <Fatal> BaseDaemon: 36. ./obj-x86_64-linux-gnu/../contrib/libcxx/include/memory:2068: std::__1::__unique_if<DB::InterpreterSelectWithUnionQuery>::__unique_single std::__1::make_unique<DB::InterpreterSelectWithUnionQuery, std::__1::shared_ptr<DB::IAST>&, DB::Context&, DB::SelectQueryOptions const&>(std::__1::shared_ptr<DB::IAST>&, DB::Context&, DB::SelectQueryOptions const&) @ 0x19de8bf7 in /workspace/clickhouse
2021.02.11 23:27:55.671825 [ 174 ] {} <Fatal> BaseDaemon: 37. ./obj-x86_64-linux-gnu/../src/Interpreters/InterpreterFactory.cpp:110: DB::InterpreterFactory::get(std::__1::shared_ptr<DB::IAST>&, DB::Context&, DB::SelectQueryOptions const&) @ 0x19de7375 in /workspace/clickhouse
2021.02.11 23:27:55.717561 [ 174 ] {} <Fatal> BaseDaemon: 38. ./obj-x86_64-linux-gnu/../src/Interpreters/executeQuery.cpp:516: DB::executeQueryImpl(char const*, char const*, DB::Context&, bool, DB::QueryProcessingStage::Enum, bool, DB::ReadBuffer*) @ 0x1a35df0d in /workspace/clickhouse
2021.02.11 23:27:55.763996 [ 174 ] {} <Fatal> BaseDaemon: 39. ./obj-x86_64-linux-gnu/../src/Interpreters/executeQuery.cpp:904: DB::executeQuery(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, DB::Context&, bool, DB::QueryProcessingStage::Enum, bool) @ 0x1a35c7ba in /workspace/clickhouse
2021.02.11 23:27:55.816826 [ 174 ] {} <Fatal> BaseDaemon: 40. ./obj-x86_64-linux-gnu/../src/Server/TCPHandler.cpp:289: DB::TCPHandler::runImpl() @ 0x1ac90e72 in /workspace/clickhouse
2021.02.11 23:27:55.869950 [ 174 ] {} <Fatal> BaseDaemon: 41. ./obj-x86_64-linux-gnu/../src/Server/TCPHandler.cpp:1492: DB::TCPHandler::run() @ 0x1ac9d278 in /workspace/clickhouse
2021.02.11 23:27:55.935125 [ 174 ] {} <Fatal> BaseDaemon: 42. ./obj-x86_64-linux-gnu/../contrib/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x1e51a40c in /workspace/clickhouse
2021.02.11 23:27:55.995995 [ 174 ] {} <Fatal> BaseDaemon: 43. ./obj-x86_64-linux-gnu/../contrib/poco/Net/src/TCPServerDispatcher.cpp:113: Poco::Net::TCPServerDispatcher::run() @ 0x1e51ac10 in /workspace/clickhouse
2021.02.11 23:27:56.059815 [ 174 ] {} <Fatal> BaseDaemon: 44. ./obj-x86_64-linux-gnu/../contrib/poco/Foundation/src/ThreadPool.cpp:199: Poco::PooledThread::run() @ 0x1e657d83 in /workspace/clickhouse
2021.02.11 23:27:56.121349 [ 174 ] {} <Fatal> BaseDaemon: 45. ./obj-x86_64-linux-gnu/../contrib/poco/Foundation/src/Thread.cpp:56: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x1e654c0d in /workspace/clickhouse
2021.02.11 23:27:56.182788 [ 174 ] {} <Fatal> BaseDaemon: 46. ./obj-x86_64-linux-gnu/../contrib/poco/Foundation/src/Thread_POSIX.cpp:345: Poco::ThreadImpl::runnableEntry(void*) @ 0x1e653a98 in /workspace/clickhouse
2021.02.11 23:27:56.183321 [ 174 ] {} <Fatal> BaseDaemon: 47. start_thread @ 0x9609 in /usr/lib/x86_64-linux-gnu/libpthread-2.31.so
2021.02.11 23:27:56.183756 [ 174 ] {} <Fatal> BaseDaemon: 48. __clone @ 0x122293 in /usr/lib/x86_64-linux-gnu/libc-2.31.so
2021.02.11 23:27:57.183450 [ 174 ] {} <Fatal> BaseDaemon: Calculated checksum of the binary: 617B96683A882188FFA91AFB657970F2. There is no information about the reference checksum.
2021.02.11 23:28:06.267961 [ 82 ] {} <Fatal> Application: Child process was terminated by signal 6.
```
https://clickhouse-test-reports.s3.yandex.net/20344/f6cfcd4da9da90394bcdce3bb7100ed90a2c3804/fuzzer_debug/report.html#fail1
{
    key_names_left.clear();
    key_names_right.clear();
    key_asts_left.clear();
    key_asts_right.clear();
    columns_from_joined_table.clear();
    columns_added_by_join.clear();
    original_names.clear();
    renames.clear();
}
void TableJoin::addUsingKey(const ASTPtr & ast)
{
    key_names_left.push_back(ast->getColumnName());
    key_names_right.push_back(ast->getAliasOrColumnName());
    key_asts_left.push_back(ast);
    key_asts_right.push_back(ast);
    auto & right_key = key_names_right.back();
    if (renames.count(right_key))
        right_key = renames[right_key];
}
void TableJoin::addOnKeys(ASTPtr & left_table_ast, ASTPtr & right_table_ast)
{
    key_names_left.push_back(left_table_ast->getColumnName());
    key_names_right.push_back(right_table_ast->getAliasOrColumnName());
    key_asts_left.push_back(left_table_ast);
    key_asts_right.push_back(right_table_ast);
}
size_t TableJoin::rightKeyInclusion(const String & name) const