Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-1519

Crash: impala::TupleIsNullPredicate::Prepare

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • Impala 2.0, Impala 2.0.1, Impala 2.1, Impala 2.1.1
    • Impala 2.2.1, Impala 2.3.0
    • None

    Description

      QUERY:

      SELECT
      t2.int_col,
      COALESCE(t1.int_col, t1.day, t1.tinyint_col) AS int_col_2,
      COALESCE(892, -329, COALESCE(LEAD(634, 24) OVER (PARTITION BY COALESCE(t1.tinyint_col, t1.bigint_col, t1.bigint_col) ORDER BY COALESCE(t1.tinyint_col, t1.bigint_col, t1.bigint_col) DESC, t2.int_col ASC), -524)) AS int_col_3,
      COALESCE(t1.tinyint_col, t1.bigint_col, t1.bigint_col) AS int_col_4
      FROM alltypesagg t1
      LEFT JOIN (
      SELECT
      MIN(timestamp_col) + INTERVAL 85 MONTH AS timestamp_col,
      COALESCE(MIN(year), 867, -463) AS int_col
      FROM alltypestiny
      ) t2 ON (t2.int_col) = (t1.id)
      

      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=0x7f8508fba8c0) at src/logging.cc:1250
      google::LogMessage::Flush (this=0x7f8508fba8c0) at src/logging.cc:1119
      google::LogMessageFatal::~LogMessageFatal (this=0x7f8508fba8c0, __in_chrg=<value optimized out>) at src/logging.cc:1817
      impala::TupleIsNullPredicate::Prepare (this=0xc044700, state=0x977d500, row_desc=..., ctx=0x9f04f20) at /data/9/query-gen/Impala/be/src/exprs/tuple-is-null-predicate.cc:49
      impala::Expr::Prepare (this=0xd019040, state=0x977d500, row_desc=..., context=0x9f04f20) at /data/9/query-gen/Impala/be/src/exprs/expr.cc:353
      impala::ExprContext::Prepare (this=0x9f04f20, state=0x977d500, row_desc=..., tracker=0x87f9ce0) at /data/9/query-gen/Impala/be/src/exprs/expr-context.cc:52
      impala::Expr::Prepare (ctxs=std::vector of length 4, capacity 4 = {...}, state=0x977d500, row_desc=..., tracker=0x87f9ce0) at /data/9/query-gen/Impala/be/src/exprs/expr.cc:344
      impala::Coordinator::Exec (this=0x6bac000, schedule=..., output_expr_ctxs=0x941ab60) at /data/9/query-gen/Impala/be/src/runtime/coordinator.cc:352
      impala::ImpalaServer::QueryExecState::ExecQueryOrDmlRequest (this=0x941a000, query_exec_request=...) at /data/9/query-gen/Impala/be/src/service/query-exec-state.cc:401
      impala::ImpalaServer::QueryExecState::Exec (this=0x941a000, exec_request=0x7f8508fbc950) at /data/9/query-gen/Impala/be/src/service/query-exec-state.cc:138
      impala::ImpalaServer::ExecuteInternal (this=0x53cab00, query_ctx=..., session_state=..., registered_exec_state=0x7f8508fbdb67, exec_state=0x7f8508fbddf0) at /data/9/query-gen/Impala/be/src/service/impala-server.cc:607
      impala::ImpalaServer::Execute (this=0x53cab00, query_ctx=0x7f8508fbdc20, session_state=..., exec_state=0x7f8508fbddf0) at /data/9/query-gen/Impala/be/src/service/impala-server.cc:550
      impala::ImpalaServer::ExecuteStatement (this=0x53cab00, return_val=..., request=...) at /data/9/query-gen/Impala/be/src/service/impala-hs2-server.cc:709
      apache::hive::service::cli::thrift::TCLIServiceProcessor::process_ExecuteStatement (this=0x399b0e0, seqid=0, iprot=0x13d30700, oprot=0x13d31340, callContext=0x978ed00) at /data/9/query-gen/Impala/be/generated-sources/gen-cpp/TCLIService.cpp:4695
      apache::hive::service::cli::thrift::TCLIServiceProcessor::dispatchCall (this=0x399b0e0, iprot=0x13d30700, oprot=0x13d31340, fname="ExecuteStatement", seqid=0, callContext=0x978ed00) at /data/9/query-gen/Impala/be/generated-sources/gen-cpp/TCLIService.cpp:4506
      impala::ImpalaHiveServer2ServiceProcessor::dispatchCall (this=0x399b0e0, iprot=0x13d30700, oprot=0x13d31340, fname="ExecuteStatement", seqid=0, callContext=0x978ed00) at /data/9/query-gen/Impala/be/generated-sources/gen-cpp/ImpalaHiveServer2Service.cpp:463
      apache::thrift::TDispatchProcessor::process (this=0x399b0e0, in=..., out=..., connectionContext=0x978ed00) at /data/9/query-gen/Impala/thirdparty/thrift-0.9.0/build/include/thrift/TDispatchProcessor.h:121
      apache::thrift::server::TThreadPoolServer::Task::run (this=0x16bb67e0) at src/thrift/server/TThreadPoolServer.cpp:70
      apache::thrift::concurrency::ThreadManager::Task::run (this=0x978fec0) at src/thrift/concurrency/ThreadManager.cpp:187
      apache::thrift::concurrency::ThreadManager::Worker::run (this=0x5cd0de0) at src/thrift/concurrency/ThreadManager.cpp:316
      impala::ThriftThread::RunRunnable (this=0x4009b00, runnable=..., promise=0x7fff8eea8e90) 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=0x5f7d2c0, p=0x4009b00, a1=..., a2=0x7fff8eea8e90) 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=0x5f7d2d0, 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=0x5f7d2c0) 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=0x7f8508fbecd0) at /usr/include/boost/function/function_template.hpp:1013
      impala::Thread::SuperviseThread (name="hiveserver2-frontend-13", category="thrift-server", functor=..., thread_started=0x7fff8eea8c90) 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=0x5a7e550, f=@0x5a7e548, 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=0x5a7e548) 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=0x5a7e3c0) 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

      Attachments

        Activity

          People

            alex.behm Alexander Behm
            tarasbob Taras Bobrovytsky
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: