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

Function TriplyNestedList

cpp/src/parquet/level_conversion_test.cc:148–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146};
147
148MultiLevelTestData TriplyNestedList() {
149 // Triply nested list values borrow from write_path
150 // [null, [[1 , null, 3], []], []],
151 // [[[]], [[], [1, 2]], null, [[3]]],
152 // null,
153 // []
154 return MultiLevelTestData{
155 /*def_levels=*/std::vector<int16_t>{2, 7, 6, 7, 5, 3, // first row
156 5, 5, 7, 7, 2, 7, // second row
157 0, // third row
158 1},
159 /*rep_levels=*/std::vector<int16_t>{0, 1, 3, 3, 2, 1, // first row
160 0, 1, 2, 3, 1, 1, // second row
161 0, 0}};
162}
163
164template <typename ConverterType>
165class NestedListTest : public testing::Test {

Callers 1

TYPED_TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected