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

Function MakeColumnDescriptor

cpp/src/parquet/arrow/fuzz_encoding_internal.cc:57–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55using ::parquet::arrow::FileReader;
56
57ColumnDescriptor MakeColumnDescriptor(Type::type type, int type_length) {
58 // Repetition and max def/rep levels can take dummy values as they are not directly
59 // used by encoders and decoders.
60 auto node = schema::PrimitiveNode::Make("", Repetition::OPTIONAL, type,
61 ConvertedType::NONE, type_length);
62 return ColumnDescriptor(node, /*max_definition_level=*/1, /*max_repetition_level=*/0);
63}
64
65namespace {
66

Callers 2

DoMainFunction · 0.70
FuzzEncodingFunction · 0.70

Calls 2

MakeFunction · 0.50
ColumnDescriptorClass · 0.50

Tested by

no test coverage detected