Skip to content

Commit

Permalink
arrow_with_dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
tdhock committed Aug 15, 2024
1 parent 3325b53 commit 6f539a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion man/capture_first_glob.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ data.chunk.pattern <- list(
(data.chunk.dt <- nc::capture_first_glob(glob, data.chunk.pattern, READ=read.bedGraph))

## Write same data set in Hive partition, then re-read.
if(requireNamespace("arrow")){
if(requireNamespace("arrow") && arrow::arrow_with_dataset()){
path <- tempfile()
max_rows_per_file <- if(interactive())3 else 1000
arrow::write_dataset(
Expand Down

0 comments on commit 6f539a6

Please sign in to comment.