| 98 | } |
| 99 | |
| 100 | arrow::Result<FlightPayload> NumberingStream::Next() { |
| 101 | ARROW_ASSIGN_OR_RAISE(FlightPayload payload, stream_->Next()); |
| 102 | if (payload.ipc_message.type == ipc::MessageType::RECORD_BATCH) { |
| 103 | payload.app_metadata = Buffer::FromString(std::to_string(counter_)); |
| 104 | counter_++; |
| 105 | } |
| 106 | return payload; |
| 107 | } |
| 108 | |
| 109 | void AssertEqual(const FlightInfo& expected, const FlightInfo& actual) { |
| 110 | ipc::DictionaryMemo expected_memo; |
nothing calls this directly
no test coverage detected