MCPcopy Create free account
hub / github.com/apache/impala / HasResultSink

Method HasResultSink

be/src/runtime/query-exec-params.cc:52–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50 : query_id_(query_id), exec_request_(exec_request), query_schedule_(query_schedule) {}
51
52bool QueryExecParams::HasResultSink(const TPlanFragment* fragment) const {
53 return fragment != nullptr &&
54 fragment->output_sink.type == TDataSinkType::TABLE_SINK &&
55 fragment->output_sink.table_sink.type == TTableSinkType::HDFS &&
56 fragment->output_sink.table_sink.hdfs_table_sink.is_result_sink;
57}
58
59bool QueryExecParams::HasResultSink() const {
60 return HasResultSink(GetCoordFragmentImpl());

Callers 1

WaitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected