Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARROW-14653: [R] head() hangs on CSV datasets > 600MB #11992

Closed
wants to merge 2 commits into from
Closed
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
1 change: 1 addition & 0 deletions r/NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
* Added `decimal128()` (identical to `decimal()`) as the name is more explicit and updated docs to encourage its use.
* Source builds now by default use `pkg-config` to search for system dependencies (such as `libz`) and link to them
if present. To retain the previous behaviour of downloading and building all dependencies, set `ARROW_DEPENDENCY_SOURCE=BUNDLED`.
* Opening datasets now use async scanner by default which resolves a deadlock issues related to reading in large multi-CSV datasets

# arrow 6.0.1

Expand Down
4 changes: 2 additions & 2 deletions r/R/dataset-scan.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#' to keep all rows.
#' * `use_threads`: logical: should scanning use multithreading? Default `TRUE`
#' * `use_async`: logical: should the async scanner (performs better on
#' high-latency/highly parallel filesystems like S3) be used? Default `FALSE`
#' high-latency/highly parallel filesystems like S3) be used? Default `TRUE`
#' * `...`: Additional arguments, currently ignored
#' @section Methods:
#' `ScannerBuilder` has the following methods:
Expand Down Expand Up @@ -73,7 +73,7 @@ Scanner$create <- function(dataset,
projection = NULL,
filter = TRUE,
use_threads = option_use_threads(),
use_async = getOption("arrow.use_async", FALSE),
use_async = getOption("arrow.use_async", TRUE),
batch_size = NULL,
fragment_scan_options = NULL,
...) {
Expand Down
2 changes: 1 addition & 1 deletion r/man/Scanner.Rd

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