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

Method GetPartition

be/src/runtime/descriptors.h:482–487  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

480 typedef std::map<int64_t, HdfsPartitionDescriptor*> PartitionIdToDescriptorMap;
481
482 HdfsPartitionDescriptor* GetPartition(int64_t partition_id) const {
483 PartitionIdToDescriptorMap::const_iterator it =
484 partition_descriptors_.find(partition_id);
485 if (it == partition_descriptors_.end()) return NULL;
486 return it->second;
487 }
488
489 /// Release resources by closing partition descriptors.
490 void ReleaseResources();

Callers 7

SkipScanRangeMethod · 0.80
CalculateDataFilesMethod · 0.80
ProcessSplitMethod · 0.80
GetNextMethod · 0.80
FinalizeHdfsInsertMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected