Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions dev/tasks/tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -713,6 +713,13 @@ tasks:
R_DUCKDB_DEV: TRUE
image: ubuntu-r-only-r

test-r-dataset-without-parquet:
ci: github
template: docker-tests/github.linux.yml
params:
flags: '-e ARROW_DATASET=ON -e ARROW_PARQUET=OFF'
image: ubuntu-r-only-r

test-r-offline-maximal:
ci: github
template: r/github.linux.offline.build.yml
Expand Down
6 changes: 3 additions & 3 deletions r/src/arrowExports.cpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions r/src/dataset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@
#include <arrow/table.h>
#include <arrow/util/checked_cast.h>
#include <arrow/util/iterator.h>

#if defined(ARROW_R_WITH_PARQUET)
#include <parquet/properties.h>
#endif

namespace ds = ::arrow::dataset;
namespace fs = ::arrow::fs;
Expand Down Expand Up @@ -223,6 +226,7 @@ std::shared_ptr<ds::FileWriteOptions> dataset___FileFormat__DefaultWriteOptions(
return fmt->DefaultWriteOptions();
}

#if defined(ARROW_R_WITH_PARQUET)
// [[dataset::export]]
std::shared_ptr<ds::ParquetFileFormat> dataset___ParquetFileFormat__Make(
const std::shared_ptr<ds::ParquetFragmentScanOptions>& options,
Expand All @@ -237,6 +241,7 @@ std::shared_ptr<ds::ParquetFileFormat> dataset___ParquetFileFormat__Make(

return fmt;
}
#endif

// [[dataset::export]]
std::string dataset___FileWriteOptions__type_name(
Expand Down Expand Up @@ -339,6 +344,7 @@ std::shared_ptr<ds::JsonFragmentScanOptions> dataset___JsonFragmentScanOptions__
return options;
}

#if defined(ARROW_R_WITH_PARQUET)
// [[dataset::export]]
std::shared_ptr<ds::ParquetFragmentScanOptions>
dataset___ParquetFragmentScanOptions__Make(bool use_buffered_stream, int64_t buffer_size,
Expand All @@ -362,6 +368,7 @@ dataset___ParquetFragmentScanOptions__Make(bool use_buffered_stream, int64_t buf
thrift_container_size_limit);
return options;
}
#endif

// DirectoryPartitioning, HivePartitioning

Expand Down
Loading