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

Method CreateAndOpenScanner

be/src/exec/hdfs-scan-node-mt.cc:132–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132Status HdfsScanNodeMt::CreateAndOpenScanner(HdfsPartitionDescriptor* partition,
133 ScannerContext* context, scoped_ptr<HdfsScanner>* scanner) {
134 Status status = CreateAndOpenScannerHelper(partition, context, scanner);
135 if (!status.ok() && scanner->get() != nullptr) {
136 scanner->get()->Close(nullptr);
137 scanner->reset();
138 }
139 return status;
140}
141
142void HdfsScanNodeMt::Close(RuntimeState* state) {
143 if (is_closed()) return;

Callers

nothing calls this directly

Calls 4

getMethod · 0.65
resetMethod · 0.65
okMethod · 0.45
CloseMethod · 0.45

Tested by

no test coverage detected