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

Function _arrow_Table__from_record_batches

r/src/arrowExports.cpp:5617–5623  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5615// table.cpp
5616std::shared_ptr<arrow::Table> Table__from_record_batches(const std::vector<std::shared_ptr<arrow::RecordBatch>>& batches, SEXP schema_sxp);
5617extern "C" SEXP _arrow_Table__from_record_batches(SEXP batches_sexp, SEXP schema_sxp_sexp){
5618BEGIN_CPP11
5619 arrow::r::Input<const std::vector<std::shared_ptr<arrow::RecordBatch>>&>::type batches(batches_sexp);
5620 arrow::r::Input<SEXP>::type schema_sxp(schema_sxp_sexp);
5621 return cpp11::as_sexp(Table__from_record_batches(batches, schema_sxp));
5622END_CPP11
5623}
5624// table.cpp
5625std::shared_ptr<arrow::Table> Table__from_schema(const std::shared_ptr<arrow::Schema>& schema);
5626extern "C" SEXP _arrow_Table__from_schema(SEXP schema_sexp){

Callers

nothing calls this directly

Calls 2

as_sexpFunction · 0.85

Tested by

no test coverage detected