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

Function GetIngestRecords

cpp/src/arrow/flight/integration_tests/test_integration.cc:2366–2371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2364}
2365
2366arrow::Result<std::shared_ptr<RecordBatchReader>> GetIngestRecords() {
2367 auto schema = GetIngestSchema();
2368 auto array = arrow::ArrayFromJSON(arrow::int64(), "[null,null,null]");
2369 auto record_batch = arrow::RecordBatch::Make(schema, 3, {array});
2370 return RecordBatchReader::Make({record_batch});
2371}
2372
2373/// \brief The server used for testing bulk ingestion
2374class FlightSqlIngestionServer : public sql::FlightSqlServerBase {

Callers

nothing calls this directly

Calls 3

GetIngestSchemaFunction · 0.85
ArrayFromJSONFunction · 0.85
MakeFunction · 0.50

Tested by

no test coverage detected