| 712 | } |
| 713 | |
| 714 | static 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 | |
| 722 | std::string CreateModuleAad(const std::string& file_aad, int8_t module_type, |
| 723 | int16_t row_group_ordinal, int16_t column_ordinal, |
no test coverage detected