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

Function ToBatch

cpp/src/arrow/type_benchmark.cc:451–453  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

449}
450
451static std::shared_ptr<RecordBatch> ToBatch(const std::shared_ptr<Array>& array) {
452 return *RecordBatch::FromStructArray(array);
453}
454
455static std::shared_ptr<ChunkedArray> ToChunked(const std::shared_ptr<Array>& array,
456 double chunk_proportion = 1.0) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected