| 283 | } |
| 284 | |
| 285 | VectorPtr restoreVector(const std::string& path) { |
| 286 | std::ifstream inputFile(path, std::ifstream::binary); |
| 287 | BOLT_CHECK(!inputFile.fail(), "Cannot open file: {}", path); |
| 288 | auto copy = bytedance::bolt::restoreVector(inputFile, pool()); |
| 289 | inputFile.close(); |
| 290 | return copy; |
| 291 | } |
| 292 | |
| 293 | void verifyDataAndSqlPaths(const BoltException& e, const VectorPtr& data) { |
| 294 | auto inputPath = extractInputPath(e.additionalContext()); |
nothing calls this directly
no test coverage detected