| 84 | } |
| 85 | |
| 86 | void CheckBloomFilterShortRead(int64_t expected, int64_t actual, |
| 87 | std::string_view context) { |
| 88 | if (ARROW_PREDICT_FALSE(actual < expected)) { |
| 89 | std::stringstream ss; |
| 90 | ss << context << " read failed: expected "; |
| 91 | ss << expected << " bytes, got " << actual; |
| 92 | throw ParquetException(ss.str()); |
| 93 | } |
| 94 | } |
| 95 | |
| 96 | } // namespace |
| 97 |
no test coverage detected