yiguolei commented on code in PR #9610: URL: https://github.com/apache/incubator-doris/pull/9610#discussion_r875663771
########## be/src/vec/olap/vcollect_iterator.cpp: ########## @@ -91,6 +103,7 @@ void VCollectIterator::build_heap(std::vector<RowsetReaderSharedPtr>& rs_readers } Level1Iterator* cumu_iter = new Level1Iterator(cumu_children, _reader, cumu_children.size() > 1, _skip_same); + RETURN_IF_NOT_EOF_AND_OK(cumu_iter->init()); cumu_iter->init(); std::list<LevelIterator*> children; Review Comment: cumu_iter->init(); called twice? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org