| 173 | } |
| 174 | |
| 175 | bool 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 |
nothing calls this directly
no test coverage detected