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

Method Close

be/src/exec/hash-table.cc:210–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208}
209
210void HashTableCtx::Close(RuntimeState* state) {
211 if (VLOG_IS_ON(3)) VLOG(3) << PrintStats();
212 free(scratch_row_);
213 scratch_row_ = NULL;
214 expr_values_cache_.Close(expr_perm_pool_->mem_tracker());
215 ScalarExprEvaluator::Close(build_expr_evals_, state);
216 ScalarExprEvaluator::Close(probe_expr_evals_, state);
217}
218
219string HashTableCtx::PrintStats() const {
220 double avg_travel = num_probes_ == 0 ? 0 : (double)travel_length_ / (double)num_probes_;

Callers

nothing calls this directly

Calls 7

moveFunction · 0.85
resetMethod · 0.65
clearMethod · 0.65
mem_trackerMethod · 0.45
ResetMethod · 0.45
ReleaseMethod · 0.45
FreeMethod · 0.45

Tested by

no test coverage detected