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

Function _arrow_Table__SetColumn

r/src/arrowExports.cpp:5589–5597  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5587// table.cpp
5588std::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);
5589extern "C" SEXP _arrow_Table__SetColumn(SEXP table_sexp, SEXP i_sexp, SEXP field_sexp, SEXP column_sexp){
5590BEGIN_CPP11
5591 arrow::r::Input<const std::shared_ptr<arrow::Table>&>::type table(table_sexp);
5592 arrow::r::Input<int>::type i(i_sexp);
5593 arrow::r::Input<const std::shared_ptr<arrow::Field>&>::type field(field_sexp);
5594 arrow::r::Input<const std::shared_ptr<arrow::ChunkedArray>&>::type column(column_sexp);
5595 return cpp11::as_sexp(Table__SetColumn(table, i, field, column));
5596END_CPP11
5597}
5598// table.cpp
5599std::shared_ptr<arrow::Table> Table__SelectColumns(const std::shared_ptr<arrow::Table>& table, const std::vector<int>& indices);
5600extern "C" SEXP _arrow_Table__SelectColumns(SEXP table_sexp, SEXP indices_sexp){

Callers

nothing calls this directly

Calls 2

as_sexpFunction · 0.85
Table__SetColumnFunction · 0.85

Tested by

no test coverage detected