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

Function TEST_F

cpp/src/parquet/column_reader_test.cc:138–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136};
137
138TEST_F(TestPrimitiveReader, TestInt32FlatRequired) {
139 int levels_per_page = 100;
140 int num_pages = 50;
141 max_def_level_ = 0;
142 max_rep_level_ = 0;
143 NodePtr type = schema::Int32("a", Repetition::REQUIRED);
144 const ColumnDescriptor descr(type, max_def_level_, max_rep_level_);
145 ASSERT_NO_FATAL_FAILURE(ExecutePlain(num_pages, levels_per_page, &descr));
146 ASSERT_NO_FATAL_FAILURE(ExecuteDict(num_pages, levels_per_page, &descr));
147}
148
149TEST_F(TestPrimitiveReader, TestInt32FlatOptional) {
150 int levels_per_page = 100;

Callers

nothing calls this directly

Calls 15

vector_equalFunction · 0.85
WrapFunction · 0.85
ByteArrayClass · 0.85
push_backMethod · 0.80
AllocateBufferFunction · 0.70
getMethod · 0.45
SkipMethod · 0.45
ReadBatchMethod · 0.45
dataMethod · 0.45
beginMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected