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

Function GetSchema

cpp/src/arrow/dataset/scanner_benchmark.cc:94–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94std::shared_ptr<Schema> GetSchema() {
95 static std::shared_ptr<Schema> s = schema({field("a", int32()), field("b", boolean())});
96 return s;
97}
98
99size_t GetBytesForSchema() { return sizeof(int32_t) + sizeof(bool); }
100

Callers 4

MinimalEndToEndScanFunction · 0.70
ScanOnlyFunction · 0.70
ScanBenchmark_CustomizeFunction · 0.70

Calls 2

schemaFunction · 0.50
fieldFunction · 0.50

Tested by

no test coverage detected