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

Method Send

be/src/exec/hbase/hbase-table-sink.cc:66–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66Status HBaseTableSink::Send(RuntimeState* state, RowBatch* batch) {
67 SCOPED_TIMER(profile()->total_time_counter());
68 expr_results_pool_->Clear();
69 RETURN_IF_ERROR(state->CheckQueryState());
70 // Since everything is set up just forward everything to the writer.
71 RETURN_IF_ERROR(hbase_table_writer_->AppendRows(batch));
72 state->dml_exec_state()->UpdatePartition(
73 ROOT_PARTITION_KEY, batch->num_rows(), nullptr);
74 return Status::OK();
75}
76
77Status HBaseTableSink::FlushFinal(RuntimeState* state) {
78 // No buffered state to flush.

Callers

nothing calls this directly

Calls 8

OKFunction · 0.85
total_time_counterMethod · 0.80
CheckQueryStateMethod · 0.80
UpdatePartitionMethod · 0.80
ClearMethod · 0.45
AppendRowsMethod · 0.45
dml_exec_stateMethod · 0.45
num_rowsMethod · 0.45

Tested by

no test coverage detected