| 64 | } |
| 65 | |
| 66 | Status 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 | |
| 77 | Status HBaseTableSink::FlushFinal(RuntimeState* state) { |
| 78 | // No buffered state to flush. |
nothing calls this directly
no test coverage detected