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

Function Int64Schema

cpp/src/parquet/encoding_benchmark.cc:54–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52using schema::PrimitiveNode;
53
54std::shared_ptr<ColumnDescriptor> Int64Schema(Repetition::type repetition) {
55 auto node = PrimitiveNode::Make("int64", repetition, Type::INT64);
56 return std::make_shared<ColumnDescriptor>(node, repetition != Repetition::REQUIRED,
57 repetition == Repetition::REPEATED);
58}
59
60static void BM_PlainEncodingBoolean(benchmark::State& state) {
61 std::vector<bool> values(state.range(0), true);

Callers 2

EncodeDictFunction · 0.70
DecodeDictFunction · 0.70

Calls 1

MakeFunction · 0.70

Tested by

no test coverage detected