| 2364 | } |
| 2365 | |
| 2366 | arrow::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 |
| 2374 | class FlightSqlIngestionServer : public sql::FlightSqlServerBase { |
nothing calls this directly
no test coverage detected