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

Function _arrow_parquet___arrow___FileWriter__WriteTable

r/src/arrowExports.cpp:4681–4689  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4679#if defined(ARROW_R_WITH_PARQUET)
4680void parquet___arrow___FileWriter__WriteTable(const std::shared_ptr<parquet::arrow::FileWriter>& writer, const std::shared_ptr<arrow::Table>& table, int64_t chunk_size);
4681extern "C" SEXP _arrow_parquet___arrow___FileWriter__WriteTable(SEXP writer_sexp, SEXP table_sexp, SEXP chunk_size_sexp){
4682BEGIN_CPP11
4683 arrow::r::Input<const std::shared_ptr<parquet::arrow::FileWriter>&>::type writer(writer_sexp);
4684 arrow::r::Input<const std::shared_ptr<arrow::Table>&>::type table(table_sexp);
4685 arrow::r::Input<int64_t>::type chunk_size(chunk_size_sexp);
4686 parquet___arrow___FileWriter__WriteTable(writer, table, chunk_size);
4687 return R_NilValue;
4688END_CPP11
4689}
4690#else
4691extern "C" SEXP _arrow_parquet___arrow___FileWriter__WriteTable(SEXP writer_sexp, SEXP table_sexp, SEXP chunk_size_sexp){
4692 Rf_error("Cannot call parquet___arrow___FileWriter__WriteTable(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. ");

Callers

nothing calls this directly

Tested by

no test coverage detected