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

Function CheckNumberDecoded

cpp/src/parquet/column_reader.cc:85–91  ·  view source on GitHub ↗

Throws exception if number_decoded does not match expected.

Source from the content-addressed store, hash-verified

83
84// Throws exception if number_decoded does not match expected.
85inline void CheckNumberDecoded(int64_t number_decoded, int64_t expected) {
86 if (ARROW_PREDICT_FALSE(number_decoded != expected)) {
87 ParquetException::EofException("Decoded values " + std::to_string(number_decoded) +
88 " does not match expected " +
89 std::to_string(expected));
90 }
91}
92
93constexpr std::string_view kErrorRepDefLevelNotMatchesNumValues =
94 "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