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

Function ExampleDictBatches

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

Source from the content-addressed store, hash-verified

212}
213
214Status 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
224Status ExampleNestedBatches(RecordBatchVector* out) {
225 std::shared_ptr<RecordBatch> batch;

Callers 5

TestDoGetDictsMethod · 0.85
DoGetMethod · 0.85
TestDoGetDictionariesMethod · 0.85
TestDoPutDictionariesMethod · 0.85
GetBatchForFlightFunction · 0.85

Calls 3

MakeDictionaryFunction · 0.85
push_backMethod · 0.80
OKFunction · 0.50

Tested by

no test coverage detected