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

Function MakeColumnDescriptor

cpp/src/parquet/file_deserialize_test.cc:50–55  ·  view source on GitHub ↗

Make a column descriptor with an undefined column order.

Source from the content-addressed store, hash-verified

48
49// Make a column descriptor with an undefined column order.
50ColumnDescriptor MakeColumnDescriptor() {
51 auto node = schema::Int32("int_col", Repetition::REQUIRED);
52 static_cast<schema::PrimitiveNode*>(node.get())
53 ->SetColumnOrder(ColumnOrder::undefined_);
54 return ColumnDescriptor(node, /*max_definition_level=*/0, /*max_repetition_level=*/0);
55}
56
57// Adds page statistics occupying a certain amount of bytes (for testing very
58// large page headers)

Callers 1

TestPageSerdeMethod · 0.70

Calls 2

ColumnDescriptorClass · 0.70
getMethod · 0.45

Tested by

no test coverage detected