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

Method GetFileMetadata

be/src/exec/hdfs-scan-node-base.cc:1354–1361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1352}
1353
1354void* ScanRangeSharedState::GetFileMetadata(
1355 int64_t partition_id, const string& filename) {
1356 unique_lock<mutex> l(metadata_lock_);
1357 auto file_metadata_map_key = make_pair(partition_id, filename);
1358 auto it = per_file_metadata_.find(file_metadata_map_key);
1359 if (it == per_file_metadata_.end()) return NULL;
1360 return it->second;
1361}
1362
1363Tuple* ScanRangeSharedState::GetTemplateTupleForPartitionId(int64_t partition_id) {
1364 DCHECK(partition_template_tuple_map_.find(partition_id)

Callers 2

OpenMethod · 0.45
SerializeFooterToJsonMethod · 0.45

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected