| 121 | } |
| 122 | |
| 123 | Status FuzzReadColumnIndex(const ColumnIndex* index, const ColumnDescriptor* descr) { |
| 124 | Status st; |
| 125 | BEGIN_PARQUET_CATCH_EXCEPTIONS |
| 126 | index->definition_level_histograms(); |
| 127 | index->repetition_level_histograms(); |
| 128 | index->null_pages(); |
| 129 | index->null_counts(); |
| 130 | index->non_null_page_indices(); |
| 131 | index->encoded_min_values(); |
| 132 | index->encoded_max_values(); |
| 133 | VisitType(descr->physical_type(), [&](auto* dtype) { |
| 134 | using DType = std::decay_t<decltype(*dtype)>; |
| 135 | st &= FuzzReadTypedColumnIndex(dynamic_cast<const TypedColumnIndex<DType>*>(index)); |
| 136 | }); |
| 137 | END_PARQUET_CATCH_EXCEPTIONS |
| 138 | return st; |
| 139 | } |
| 140 | |
| 141 | Status FuzzReadPageIndex(RowGroupPageIndexReader* reader, const SchemaDescriptor* schema, |
| 142 | int column) { |
no test coverage detected