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

Function FuzzReadColumnIndex

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

Source from the content-addressed store, hash-verified

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