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

Function CheckNumberDecoded

cpp/src/parquet/column_reader.cc:86–92  ·  view source on GitHub ↗

Throws exception if number_decoded does not match expected.

Source from the content-addressed store, hash-verified

84
85// Throws exception if number_decoded does not match expected.
86inline void CheckNumberDecoded(int64_t number_decoded, int64_t expected) {
87 if (ARROW_PREDICT_FALSE(number_decoded != expected)) {
88 ParquetException::EofException("Decoded values " + std::to_string(number_decoded) +
89 " does not match expected " +
90 std::to_string(expected));
91 }
92}
93
94constexpr std::string_view kErrorRepDefLevelNotMatchesNumValues =
95 "Number of decoded rep / def levels do not match num_values in page header";

Callers 7

ReadValuesSpacedMethod · 0.85
ReadValuesDenseMethod · 0.85
ReadValuesDenseMethod · 0.85
ReadValuesSpacedMethod · 0.85
ReadValuesDenseMethod · 0.85
ReadValuesSpacedMethod · 0.85
ReadValuesDenseMethod · 0.85

Calls 1

to_stringFunction · 0.85

Tested by

no test coverage detected