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

Method CloseInternal

be/src/exec/hdfs-scanner.cc:178–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176}
177
178void HdfsScanner::CloseInternal() {
179 DCHECK(!is_closed_);
180 if (decompressor_.get() != nullptr) {
181 decompressor_->Close();
182 decompressor_.reset();
183 }
184 for (auto& entry : conjunct_evals_map_) {
185 ScalarExprEvaluator::Close(entry.second, state_);
186 }
187 expr_perm_pool_->FreeAll();
188 context_->expr_results_pool()->FreeAll();
189 obj_pool_.Clear();
190 stream_ = nullptr;
191 context_->ClearStreams();
192 is_closed_ = true;
193}
194
195Status HdfsScanner::InitializeWriteTuplesFn(HdfsPartitionDescriptor* partition,
196 THdfsFileFormat::type type, const string& scanner_name) {

Callers

nothing calls this directly

Calls 7

ClearStreamsMethod · 0.80
getMethod · 0.65
resetMethod · 0.65
CloseMethod · 0.45
FreeAllMethod · 0.45
expr_results_poolMethod · 0.45
ClearMethod · 0.45

Tested by

no test coverage detected