imay commented on a change in pull request #2531: Spark return error to users when spark on doris query failed URL: https://github.com/apache/incubator-doris/pull/2531#discussion_r361677810
########## File path: be/src/runtime/result_queue_mgr.cpp ########## @@ -43,6 +43,11 @@ Status ResultQueueMgr::fetch_result(const TUniqueId& fragment_instance_id, std:: return Status::InternalError("fragment_instance_id does not exists"); } } + // check queue status before get result + Status status = queue->status(); Review comment: RETURN_IF_ERROR(queue->status()) ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org