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

Function MakeSchema

cpp/src/parquet/arrow/reader_writer_benchmark.cc:106–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104
105template <typename ParquetType>
106std::shared_ptr<ColumnDescriptor> MakeSchema(Repetition::type repetition) {
107 auto node = PrimitiveNode::Make("int64", repetition, ParquetType::type_num);
108 return std::make_shared<ColumnDescriptor>(node, repetition != Repetition::REQUIRED,
109 repetition == Repetition::REPEATED);
110}
111
112template <typename ParquetType>
113int64_t BytesForItems(int64_t num_items) {

Callers 2

TableFromTupleRangeFunction · 0.85
TESTFunction · 0.85

Calls 1

MakeFunction · 0.50

Tested by 1

TESTFunction · 0.68