Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
Impala 2.1
-
None
Description
QUERY:
SELECT COALESCE(t1.int_col, t1.smallint_col, t1.month) AS int_col, COUNT(t1.smallint_col) AS int_col_2 FROM alltypestiny t1 WHERE (t1.int_col) IN (t1.year, t1.id) GROUP BY COALESCE(t1.int_col, t1.smallint_col, t1.month) UNION SELECT COALESCE(206, COALESCE(364, -20, COUNT(159.14)), -958) AS int_col, CEIL(t1.float_col) AS float_col FROM alltypestiny t1 WHERE (t1.int_col) NOT IN (t1.bigint_col, t1.smallint_col) GROUP BY CEIL(t1.float_col) UNION ALL SELECT COUNT(587.43) AS int_col, (-224) + (SUM(305.95)) AS decimal_col FROM alltypestiny
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=0x7f2c698f47d0) at src/logging.cc:1250 google::LogMessage::Flush (this=0x7f2c698f47d0) at src/logging.cc:1119 google::LogMessageFatal::~LogMessageFatal (this=0x7f2c698f47d0, __in_chrg=<value optimized out>) at src/logging.cc:1817 impala::UnionNode::EvalAndMaterializeExprs (this=0x5d09340, ctxs=std::vector of length -13797749814572, capacity -13797755578041 = {...}, const_exprs=false, tuple=0x7f2c698f4900, row_batch=0x82ce680) at /data/9/query-gen/Impala/be/src/exec/union-node.cc:221 impala::UnionNode::GetNext (this=0x5d09340, state=0x9cd8e00, row_batch=0x82ce680, eos=0x91b28a9) at /data/9/query-gen/Impala/be/src/exec/union-node.cc:139 impala::PlanFragmentExecutor::GetNextInternal (this=0x91b2780, batch=0xd40bbf0) at /data/9/query-gen/Impala/be/src/runtime/plan-fragment-executor.cc:478 impala::PlanFragmentExecutor::GetNext (this=0x91b2780, batch=0xd40bbf0) at /data/9/query-gen/Impala/be/src/runtime/plan-fragment-executor.cc:456 impala::Coordinator::GetNext (this=0x9d7a600, batch=0xd40bbf0, state=0x9cd8e00) at /data/9/query-gen/Impala/be/src/runtime/coordinator.cc:826 impala::ImpalaServer::QueryExecState::FetchNextBatch (this=0xd40a000) at /data/9/query-gen/Impala/be/src/service/query-exec-state.cc:845 impala::ImpalaServer::QueryExecState::FetchRowsInternal (this=0xd40a000, max_rows=1024, fetched_rows=0x738b800) at /data/9/query-gen/Impala/be/src/service/query-exec-state.cc:672 impala::ImpalaServer::QueryExecState::FetchRows (this=0xd40a000, max_rows=1024, fetched_rows=0x738b800) at /data/9/query-gen/Impala/be/src/service/query-exec-state.cc:582 impala::ImpalaServer::FetchInternal (this=0x503a580, query_id=..., fetch_size=1024, fetch_first=false, fetch_results=0x7f2c698f52e8) at /data/9/query-gen/Impala/be/src/service/impala-hs2-server.cc:507 impala::ImpalaServer::FetchResults (this=0x503a580, return_val=..., request=...) at /data/9/query-gen/Impala/be/src/service/impala-hs2-server.cc:1017 apache::hive::service::cli::thrift::TCLIServiceProcessor::process_FetchResults (this=0x32070e0, seqid=0, iprot=0x4f7abc0, oprot=0x55d6300, callContext=0x6a32080) at /data/9/query-gen/Impala/be/generated-sources/gen-cpp/TCLIService.cpp:5343 apache::hive::service::cli::thrift::TCLIServiceProcessor::dispatchCall (this=0x32070e0, iprot=0x4f7abc0, oprot=0x55d6300, fname="FetchResults", seqid=0, callContext=0x6a32080) at /data/9/query-gen/Impala/be/generated-sources/gen-cpp/TCLIService.cpp:4506 impala::ImpalaHiveServer2ServiceProcessor::dispatchCall (this=0x32070e0, iprot=0x4f7abc0, oprot=0x55d6300, fname="FetchResults", seqid=0, callContext=0x6a32080) at /data/9/query-gen/Impala/be/generated-sources/gen-cpp/ImpalaHiveServer2Service.cpp:463 apache::thrift::TDispatchProcessor::process (this=0x32070e0, in=..., out=..., connectionContext=0x6a32080) at /data/9/query-gen/Impala/thirdparty/thrift-0.9.0/build/include/thrift/TDispatchProcessor.h:121 apache::thrift::server::TThreadPoolServer::Task::run (this=0x5c247e0) at src/thrift/server/TThreadPoolServer.cpp:70 apache::thrift::concurrency::ThreadManager::Task::run (this=0x6a33540) at src/thrift/concurrency/ThreadManager.cpp:187 apache::thrift::concurrency::ThreadManager::Worker::run (this=0x5329290) at src/thrift/concurrency/ThreadManager.cpp:316 impala::ThriftThread::RunRunnable (this=0x4da7ac0, runnable=..., promise=0x7fff985e3670) 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=0x5e77230, p=0x4da7ac0, a1=..., a2=0x7fff985e3670) 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=0x5e77240, 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=0x5e77230) 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=0x7f2c698f5cd0) at /usr/include/boost/function/function_template.hpp:1013 impala::Thread::SuperviseThread (name="hiveserver2-frontend-9", category="thrift-server", functor=..., thread_started=0x7fff985e3470) 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=0x5d54910, f=@0x5d54908, 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=0x5d54908) 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=0x5d54780) 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: c295948