| 212 | } |
| 213 | |
| 214 | Status ExampleDictBatches(RecordBatchVector* out) { |
| 215 | // Just the same batch, repeated a few times |
| 216 | std::shared_ptr<RecordBatch> batch; |
| 217 | for (int i = 0; i < 3; ++i) { |
| 218 | RETURN_NOT_OK(ipc::test::MakeDictionary(&batch)); |
| 219 | out->push_back(batch); |
| 220 | } |
| 221 | return Status::OK(); |
| 222 | } |
| 223 | |
| 224 | Status ExampleNestedBatches(RecordBatchVector* out) { |
| 225 | std::shared_ptr<RecordBatch> batch; |
no test coverage detected