You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@quickstep.apache.org by "Marc Spehlmann (JIRA)" <ji...@apache.org> on 2016/11/15 23:36:58 UTC

[jira] [Created] (QUICKSTEP-62) Crash on Order By with no rows

Marc Spehlmann created QUICKSTEP-62:
---------------------------------------

             Summary: Crash on Order By with no rows
                 Key: QUICKSTEP-62
                 URL: https://issues.apache.org/jira/browse/QUICKSTEP-62
             Project: Apache Quickstep
          Issue Type: Bug
          Components: Query Execution
            Reporter: Marc Spehlmann
            Priority: Minor


Try running the query:
tbl is a table with 0 rows.
select * from tbl;  #returns 0 rows
select * from tbl order by col1; #shell is stuck

You will get an error like:
F1115 23:30:49.112198  3492 SortMergeRunOperator.cpp:198] Check failed: started_ 
*** Check failure stack trace: ***
    @          0x555311b  google::LogMessage::Fail()
    @          0x5552567  google::LogMessage::SendToLog()
    @          0x5552dea  google::LogMessage::Flush()
    @          0x5556208  google::LogMessageFatal::~LogMessageFatal()
    @          0x56348ec  quickstep::SortMergeRunOperator::initializeInputRuns()
    @          0x563561d  quickstep::SortMergeRunOperator::doneFeedingInputBlocks()
    @          0x5819b9b  quickstep::QueryManagerBase::markOperatorFinished()
    @          0x5819caa  quickstep::QueryManagerBase::processOperator()
    @          0x580b547  quickstep::QueryManagerSingleNode::QueryManagerSingleNode()
    @          0x5804ec9  quickstep::PolicyEnforcerSingleNode::admitQuery()
    @          0x557310c  quickstep::ForemanSingleNode::run()
    @          0x581ed94  quickstep::threading_internal::executeRunMethodForThreadReturnNothing()
    @          0x552c0c5  _ZNSt12_Bind_simpleIFPFvPvEPN9quickstep15ThreadImplCPP11EEE9_M_invokeIJLm0EEEEvSt12_Index_tupleIJXspT_EEE
    @          0x552c075  std::_Bind_simple<>::operator()()
    @          0x552bd89  std::thread::_Impl<>::_M_run()
    @     0x7f2806777c80  (unknown)
    @     0x7f2806d6670a  start_thread
    @     0x7f2805edd82d  (unknown)
    @              (nil)  (unknown)
Aborted (core dumped)





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)