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

Function CheckBloomFilterShortRead

cpp/src/parquet/bloom_filter.cc:86–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86void 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

Callers 3

DeserializeEncryptedMethod · 0.85
DeserializeMethod · 0.85

Calls 2

ParquetExceptionFunction · 0.85
strMethod · 0.80

Tested by

no test coverage detected