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

Function CheckPageOrdinal

cpp/src/parquet/encryption/encryption_internal.cc:714–720  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

712}
713
714static void CheckPageOrdinal(int32_t page_ordinal) {
715 if (ARROW_PREDICT_FALSE(page_ordinal > std::numeric_limits<int16_t>::max())) {
716 throw ParquetException("Encrypted Parquet files can't have more than " +
717 std::to_string(std::numeric_limits<int16_t>::max()) +
718 " pages per chunk: got " + std::to_string(page_ordinal));
719 }
720}
721
722std::string CreateModuleAad(const std::string& file_aad, int8_t module_type,
723 int16_t row_group_ordinal, int16_t column_ordinal,

Callers 2

CreateModuleAadFunction · 0.85
QuickUpdatePageAadFunction · 0.85

Calls 2

ParquetExceptionFunction · 0.85
to_stringFunction · 0.85

Tested by

no test coverage detected