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

Function ExampleLargeSchema

cpp/src/arrow/flight/test_util.cc:154–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154std::shared_ptr<Schema> ExampleLargeSchema() {
155 std::vector<std::shared_ptr<arrow::Field>> fields;
156 for (int i = 0; i < 128; i++) {
157 const auto field_name = "f" + std::to_string(i);
158 fields.push_back(arrow::field(field_name, arrow::float64()));
159 }
160 return arrow::schema(fields);
161}
162
163std::vector<FlightInfo> ExampleFlightInfo() {
164 Location location1 = *Location::ForGrpcTcp("foo1.bar.com", 12345);

Callers 2

ExampleLargeBatchesFunction · 0.85
TestLargeBatchMethod · 0.85

Calls 4

to_stringFunction · 0.85
push_backMethod · 0.80
fieldFunction · 0.50
schemaFunction · 0.50

Tested by

no test coverage detected