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

Function _arrow_Table__AddColumn

r/src/arrowExports.cpp:5563–5571  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5561// table.cpp
5562std::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);
5563extern "C" SEXP _arrow_Table__AddColumn(SEXP table_sexp, SEXP i_sexp, SEXP field_sexp, SEXP column_sexp){
5564BEGIN_CPP11
5565 arrow::r::Input<const std::shared_ptr<arrow::Table>&>::type table(table_sexp);
5566 arrow::r::Input<int>::type i(i_sexp);
5567 arrow::r::Input<const std::shared_ptr<arrow::Field>&>::type field(field_sexp);
5568 arrow::r::Input<const std::shared_ptr<arrow::ChunkedArray>&>::type column(column_sexp);
5569 return cpp11::as_sexp(Table__AddColumn(table, i, field, column));
5570END_CPP11
5571}
5572// table.cpp
5573std::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);
5574extern "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