| 52 | } |
| 53 | |
| 54 | void CheckBloomFilterShortRead(int64_t expected, int64_t actual, |
| 55 | std::string_view context) { |
| 56 | if (ARROW_PREDICT_FALSE(actual < expected)) { |
| 57 | std::stringstream ss; |
| 58 | ss << context << " read failed: expected "; |
| 59 | ss << expected << " bytes, got " << actual; |
| 60 | throw ParquetException(ss.str()); |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | } // namespace |
| 65 |
no test coverage detected