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

Method IsFileRangeValid

be/src/exec/acid-metadata-utils.cc:167–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165}
166
167ValidWriteIdList::RangeResponse ValidWriteIdList::IsFileRangeValid(
168 const std::string& file_path) const {
169 std::pair<int64_t, int64_t> write_id_range = GetWriteIdRange(file_path);
170 // In base and original directories everything is valid.
171 if (write_id_range == std::make_pair<int64_t, int64_t>(0, 0)) return ALL;
172 return IsWriteIdRangeValid(write_id_range.first, write_id_range.second);
173}
174
175bool ValidWriteIdList::IsCompacted(const std::string& file_path) {
176 string dir_name = GetParentDirName(file_path);

Callers 1

TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64