MCPcopy Create free account
hub / github.com/apache/arrow / CheckBloomFilterShortRead

Function CheckBloomFilterShortRead

cpp/src/parquet/bloom_filter.cc:54–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54void 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

Callers 3

DeserializeEncryptedMethod · 0.85
DeserializeMethod · 0.85

Calls 2

ParquetExceptionFunction · 0.85
strMethod · 0.80

Tested by

no test coverage detected