Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
Impala 2.1
-
None
Description
QUERY:
SELECT GREATEST(COALESCE(t1.int_col, 358), COALESCE(t1.float_col, -596.785729443)) AS float_col, (t1.tinyint_col) NOT IN (t1.tinyint_col, t1.id) AS boolean_col, t1.timestamp_col, t1.bool_col FROM alltypestiny t1 LEFT JOIN ( SELECT GREATEST(COALESCE(t1.year, 384), COALESCE(t1.id, 892)) AS int_col, (t1.double_col) / (t1.month) AS float_col FROM alltypesagg t1 WHERE (t1.bigint_col) IN (SELECT (smallint_col) + (day) AS int_col FROM alltypesagg WHERE (t1.id) = (day)) ) t2 ON ((t2.int_col) = (t1.month)) AND ((t2.int_col) = (t1.year)) WHERE (t1.month) IS NOT NULL
STACK:
raise () from /lib64/libc.so.6 raise () from /lib64/libc.so.6 abort () from /lib64/libc.so.6 google::DumpStackTraceAndExit () at src/utilities.cc:147 google::LogMessage::Fail () at src/logging.cc:1296 google::LogMessage::SendToLog (this=0x7f7a66421050) at src/logging.cc:1250 google::LogMessage::Flush (this=0x7f7a66421050) at src/logging.cc:1119 google::LogMessageFatal::~LogMessageFatal (this=0x7f7a66421050, __in_chrg=<value optimized out>) at src/logging.cc:1817 impala::RowDescriptor::GetTupleIdx (this=0x9b262c8, id=2) at /data/9/query-gen/Impala/be/src/runtime/descriptors.cc:313 impala::TupleIsNullPredicate::Prepare (this=0x763c540, state=0xb7f4700, row_desc=..., ctx=0xbe72f20) at /data/9/query-gen/Impala/be/src/exprs/tuple-is-null-predicate.cc:48 impala::Expr::Prepare (this=0x6f62820, state=0xb7f4700, row_desc=..., context=0xbe72f20) at /data/9/query-gen/Impala/be/src/exprs/expr.cc:353 impala::ExprContext::Prepare (this=0xbe72f20, state=0xb7f4700, row_desc=..., tracker=0x9427a20) at /data/9/query-gen/Impala/be/src/exprs/expr-context.cc:52 impala::Expr::Prepare (ctxs=std::vector of length 2, capacity 2 = {...}, state=0xb7f4700, row_desc=..., tracker=0x9427a20) at /data/9/query-gen/Impala/be/src/exprs/expr.cc:344 impala::PartitionedHashJoinNode::Prepare (this=0x9c9b600, state=0xb7f4700) at /data/9/query-gen/Impala/be/src/exec/partitioned-hash-join-node.cc:108 impala::PlanFragmentExecutor::Prepare (this=0x69e3ce0, request=...) at /data/9/query-gen/Impala/be/src/runtime/plan-fragment-executor.cc:234 impala::FragmentMgr::FragmentExecState::Prepare (this=0x69e3b00, exec_params=...) at /data/9/query-gen/Impala/be/src/service/fragment-exec-state.cc:43 impala::FragmentMgr::ExecPlanFragment (this=0x67ccd80, exec_params=...) at /data/9/query-gen/Impala/be/src/service/fragment-mgr.cc:51 impala::ImpalaInternalService::ExecPlanFragment (this=0x6eb8210, return_val=..., params=...) at /data/9/query-gen/Impala/be/src/service/impala-internal-service.h:37 impala::ImpalaInternalServiceProcessor::process_ExecPlanFragment (this=0x67cc180, seqid=0, iprot=0x6a3e800, oprot=0x64e95c0, callContext=0x64e8440) at /data/9/query-gen/Impala/be/generated-sources/gen-cpp/ImpalaInternalService.cpp:949 impala::ImpalaInternalServiceProcessor::dispatchCall (this=0x67cc180, iprot=0x6a3e800, oprot=0x64e95c0, fname="ExecPlanFragment", seqid=0, callContext=0x64e8440) at /data/9/query-gen/Impala/be/generated-sources/gen-cpp/ImpalaInternalService.cpp:922 apache::thrift::TDispatchProcessor::process (this=0x67cc180, in=..., out=..., connectionContext=0x64e8440) at /data/9/query-gen/Impala/thirdparty/thrift-0.9.0/build/include/thrift/TDispatchProcessor.h:121 apache::thrift::server::TThreadedServer::Task::run (this=0x764ea20) at src/thrift/server/TThreadedServer.cpp:70 impala::ThriftThread::RunRunnable (this=0x6a3e2c0, runnable=..., promise=0x7f7ac40b8480) at /data/9/query-gen/Impala/be/src/rpc/thrift-thread.cc:61 boost::_mfi::mf2<void, impala::ThriftThread, boost::shared_ptr<apache::thrift::concurrency::Runnable>, impala::Promise<unsigned long>*>::operator() (this=0x6c64f60, p=0x6a3e2c0, a1=..., a2=0x7f7ac40b8480) at /usr/include/boost/bind/mem_fn_template.hpp:280 boost::_bi::list3<boost::_bi::value<impala::ThriftThread*>, boost::_bi::value<boost::shared_ptr<apache::thrift::concurrency::Runnable> >, boost::_bi::value<impala::Promise<unsigned long>*> >::operator()<boost::_mfi::mf2<void, impala::ThriftThread, boost::shared_ptr<apache::thrift::concurrency::Runnable>, impala::Promise<unsigned long>*>, boost::_bi::list0> (this=0x6c64f70, f=..., a=...) at /usr/include/boost/bind/bind.hpp:392 boost::_bi::bind_t<void, boost::_mfi::mf2<void, impala::ThriftThread, boost::shared_ptr<apache::thrift::concurrency::Runnable>, impala::Promise<unsigned long>*>, boost::_bi::list3<boost::_bi::value<impala::ThriftThread*>, boost::_bi::value<boost::shared_ptr<apache::thrift::concurrency::Runnable> >, boost::_bi::value<impala::Promise<unsigned long>*> > >::operator() (this=0x6c64f60) at /usr/include/boost/bind/bind_template.hpp:20 boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf2<void, impala::ThriftThread, boost::shared_ptr<apache::thrift::concurrency::Runnable>, impala::Promise<unsigned long>*>, boost::_bi::list3<boost::_bi::value<impala::ThriftThread*>, boost::_bi::value<boost::shared_ptr<apache::thrift::concurrency::Runnable> >, boost::_bi::value<impala::Promise<unsigned long>*> > >, void>::invoke (function_obj_ptr=...) at /usr/include/boost/function/function_template.hpp:153 boost::function0<void>::operator() (this=0x7f7a66422cd0) at /usr/include/boost/function/function_template.hpp:1013 impala::Thread::SuperviseThread (name="backend-0", category="thrift-server", functor=..., thread_started=0x7f7ac40b8280) at /data/9/query-gen/Impala/be/src/util/thread.cc:311 boost::_bi::list4<boost::_bi::value<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, boost::_bi::value<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, boost::_bi::value<boost::function<void()> >, boost::_bi::value<impala::Promise<long int>*> >::operator()<void (*)(const std::string&, const std::string&, impala::Thread::ThreadFunctor, impala::Promise<long int>*), boost::_bi::list0>(boost::_bi::type<void>, void (*&)(const std::string &, const std::string &, impala::Thread::ThreadFunctor, impala::Promise<long> *), boost::_bi::list0 &, int) (this=0x6577270, f=@0x6577268, a=...) at /usr/include/boost/bind/bind.hpp:457 boost::_bi::bind_t<void, void (*)(const std::string&, const std::string&, impala::Thread::ThreadFunctor, impala::Promise<long int>*), boost::_bi::list4<boost::_bi::value<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, boost::_bi::value<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, boost::_bi::value<boost::function<void()> >, boost::_bi::value<impala::Promise<long int>*> > >::operator()(void) (this=0x6577268) at /usr/include/boost/bind/bind_template.hpp:20 boost::detail::thread_data<boost::_bi::bind_t<void, void (*)(const std::string&, const std::string&, impala::Thread::ThreadFunctor, impala::Promise<long int>*), boost::_bi::list4<boost::_bi::value<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, boost::_bi::value<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, boost::_bi::value<boost::function<void()> >, boost::_bi::value<impala::Promise<long int>*> > > >::run(void) (this=0x65770e0) at /usr/include/boost/thread/detail/thread.hpp:61 thread_proxy () start_thread () from /lib64/libpthread.so.0 clone () from /lib64/libc.so.6
DB: Functional
File Format: Text/None
git Hash: 05c3cc5