[branch-2.1](arrow-flight-sql) Open regression-test/pipeline/p0/arrow_flight_sql (#37727)
pick #36854
This commit is contained in:
@ -232,7 +232,7 @@ Status BufferControlBlock::get_arrow_batch(std::shared_ptr<arrow::RecordBatch>*
|
||||
if (_is_close) {
|
||||
return Status::OK();
|
||||
}
|
||||
return Status::InternalError("Abnormal Ending");
|
||||
return Status::InternalError("Get Arrow Batch Abnormal Ending");
|
||||
}
|
||||
|
||||
Status BufferControlBlock::close(Status exec_status) {
|
||||
|
||||
@ -43,7 +43,7 @@ arrow::Result<std::shared_ptr<ArrowFlightBatchReader>> ArrowFlightBatchReader::C
|
||||
auto schema = ExecEnv::GetInstance()->result_mgr()->find_arrow_schema(statement_->query_id);
|
||||
if (schema == nullptr) {
|
||||
ARROW_RETURN_NOT_OK(arrow::Status::Invalid(fmt::format(
|
||||
"not found arrow flight schema, maybe query has been canceled, queryid: {}",
|
||||
"Client not found arrow flight schema, maybe query has been canceled, queryid: {}",
|
||||
print_id(statement_->query_id))));
|
||||
}
|
||||
std::shared_ptr<ArrowFlightBatchReader> result(new ArrowFlightBatchReader(statement_, schema));
|
||||
|
||||
@ -851,9 +851,9 @@ void PInternalServiceImpl::fetch_arrow_flight_schema(google::protobuf::RpcContro
|
||||
ExecEnv::GetInstance()->result_mgr()->find_arrow_schema(
|
||||
UniqueId(request->finst_id()).to_thrift());
|
||||
if (schema == nullptr) {
|
||||
LOG(INFO) << "not found arrow flight schema, maybe query has been canceled";
|
||||
LOG(INFO) << "FE not found arrow flight schema, maybe query has been canceled";
|
||||
auto st = Status::NotFound(
|
||||
"not found arrow flight schema, maybe query has been canceled");
|
||||
"FE not found arrow flight schema, maybe query has been canceled");
|
||||
st.to_protobuf(result->mutable_status());
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user