Bruno Tremblay created ARROW-10773:
--------------------------------------

             Summary: parallel as.data.frame.Table hang undefinitly on Windows
                 Key: ARROW-10773
                 URL: https://issues.apache.org/jira/browse/ARROW-10773
             Project: Apache Arrow
          Issue Type: Bug
          Components: C++, R
    Affects Versions: 2.0.0
            Reporter: Bruno Tremblay


On Windows only

Reprex

```r

remotes::install_github("meztez/bigrquerystorage")
library(bigrquerystorage)
## Auth is done automagically using Application Default Credentials.
## Use the following command once to set it up :
## gcloud auth application-default login --billing-project=\{project}
options(bigquerystorage.project = "\{project}")
arrow_table <- bqs_table_download(
 x = "bigquery-public-data:usa_names.usa_1910_current"
)
# On Windows Only
# Does not hang
options(arrow.use_threads = FALSE)
df <- as.data.frame(arrow_table)
# Hangs
options(arrow.use_threads = TRUE)
df <- as.data.frame(arrow_table)

```

 

```r

> Sys.info()
 sysname release version nodename 
 "Windows" "10 x64" "build 19041" "DESKTOP-G89AJQO" 
 machine login user effective_user 
 "x86-64" "tremb" "tremb" "tremb" 
> sessionInfo()
R version 4.0.2 (2020-06-22)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19041)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C 
[5] LC_TIME=English_United States.1252 
system code page: 65001

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] bigrquerystorage_0.2.0

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.5 rstudioapi_0.11 magrittr_2.0.1 tidyselect_1.1.0 
 [5] bit_4.0.4 R6_2.5.0 rlang_0.4.9 httr_1.4.2 
 [9] tools_4.0.2 xfun_0.15 arrow_2.0.0 tinytex_0.24 
[13] DBI_1.1.0 ellipsis_0.3.1 remotes_2.2.0.9000 bit64_4.0.5 
[17] assertthat_0.2.1 tibble_3.0.4 lifecycle_0.2.0 crayon_1.3.4 
[21] purrr_0.3.4 vctrs_0.3.5 glue_1.4.1 bigrquery_1.3.2 
[25] compiler_4.0.2 pillar_1.4.7 jsonlite_1.7.1 pkgconfig_2.0.3

```



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to