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

Method IsCompacted

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

Source from the content-addressed store, hash-verified

173}
174
175bool ValidWriteIdList::IsCompacted(const std::string& file_path) {
176 string dir_name = GetParentDirName(file_path);
177 if (!StrStartsWith(dir_name, BASE_PREFIX) &&
178 !StrStartsWith(dir_name, DELTA_PREFIX) &&
179 !StrStartsWith(dir_name, DELETE_DELTA_PREFIX)) return false;
180 return dir_name.find("_v") != string::npos;
181}
182
183} // namespace impala

Callers

nothing calls this directly

Calls 3

GetParentDirNameFunction · 0.85
StrStartsWithFunction · 0.85
findMethod · 0.45

Tested by

no test coverage detected