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

Function MakeColumnDescriptor

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

Source from the content-addressed store, hash-verified

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

Callers 2

DoMainFunction · 0.85
FuzzEncodingFunction · 0.85

Calls 2

MakeFunction · 0.50
ColumnDescriptorClass · 0.50

Tested by

no test coverage detected