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

Function _arrow_parquet___ArrowWriterProperties___create

r/src/arrowExports.cpp:4511–4518  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4509#if defined(ARROW_R_WITH_PARQUET)
4510std::shared_ptr<parquet::ArrowWriterProperties> parquet___ArrowWriterProperties___create(bool allow_truncated_timestamps, bool use_deprecated_int96_timestamps, int timestamp_unit);
4511extern "C" SEXP _arrow_parquet___ArrowWriterProperties___create(SEXP allow_truncated_timestamps_sexp, SEXP use_deprecated_int96_timestamps_sexp, SEXP timestamp_unit_sexp){
4512BEGIN_CPP11
4513 arrow::r::Input<bool>::type allow_truncated_timestamps(allow_truncated_timestamps_sexp);
4514 arrow::r::Input<bool>::type use_deprecated_int96_timestamps(use_deprecated_int96_timestamps_sexp);
4515 arrow::r::Input<int>::type timestamp_unit(timestamp_unit_sexp);
4516 return cpp11::as_sexp(parquet___ArrowWriterProperties___create(allow_truncated_timestamps, use_deprecated_int96_timestamps, timestamp_unit));
4517END_CPP11
4518}
4519#else
4520extern "C" SEXP _arrow_parquet___ArrowWriterProperties___create(SEXP allow_truncated_timestamps_sexp, SEXP use_deprecated_int96_timestamps_sexp, SEXP timestamp_unit_sexp){
4521 Rf_error("Cannot call parquet___ArrowWriterProperties___create(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. ");

Callers

nothing calls this directly

Calls 2

as_sexpFunction · 0.85

Tested by

no test coverage detected