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

Method FindFooterSplit

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

Source from the content-addressed store, hash-verified

1045}
1046
1047ScanRange* HdfsScanner::FindFooterSplit(HdfsFileDesc* file) {
1048 DCHECK(file != nullptr);
1049 for (int i = 0; i < file->splits.size(); ++i) {
1050 ScanRange* split = file->splits[i];
1051 if (split->offset() + split->len() == file->file_length) return split;
1052 }
1053 return nullptr;
1054}
1055
1056bool HdfsScanner::EvalRuntimeFilters(TupleRow* row) {
1057 int num_filters = filter_ctxs_.size();

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.45
offsetMethod · 0.45
lenMethod · 0.45

Tested by

no test coverage detected