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

Function _arrow_Table__AddColumn

r/src/arrowExports.cpp:5520–5528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5518// table.cpp
5519std::shared_ptr<arrow::Table> Table__AddColumn(const std::shared_ptr<arrow::Table>& table, int i, const std::shared_ptr<arrow::Field>& field, const std::shared_ptr<arrow::ChunkedArray>& column);
5520extern "C" SEXP _arrow_Table__AddColumn(SEXP table_sexp, SEXP i_sexp, SEXP field_sexp, SEXP column_sexp){
5521BEGIN_CPP11
5522 arrow::r::Input<const std::shared_ptr<arrow::Table>&>::type table(table_sexp);
5523 arrow::r::Input<int>::type i(i_sexp);
5524 arrow::r::Input<const std::shared_ptr<arrow::Field>&>::type field(field_sexp);
5525 arrow::r::Input<const std::shared_ptr<arrow::ChunkedArray>&>::type column(column_sexp);
5526 return cpp11::as_sexp(Table__AddColumn(table, i, field, column));
5527END_CPP11
5528}
5529// table.cpp
5530std::shared_ptr<arrow::Table> Table__SetColumn(const std::shared_ptr<arrow::Table>& table, int i, const std::shared_ptr<arrow::Field>& field, const std::shared_ptr<arrow::ChunkedArray>& column);
5531extern "C" SEXP _arrow_Table__SetColumn(SEXP table_sexp, SEXP i_sexp, SEXP field_sexp, SEXP column_sexp){

Callers

nothing calls this directly

Calls 2

as_sexpFunction · 0.85
Table__AddColumnFunction · 0.85

Tested by

no test coverage detected