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

Function FuzzReadColumnIndex

cpp/src/parquet/arrow/fuzz_internal.cc:123–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123Status 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
141Status FuzzReadPageIndex(RowGroupPageIndexReader* reader, const SchemaDescriptor* schema,
142 int column) {

Callers 1

FuzzReadPageIndexFunction · 0.85

Calls 3

FuzzReadTypedColumnIndexFunction · 0.85
physical_typeMethod · 0.80
VisitTypeFunction · 0.50

Tested by

no test coverage detected