如何解决使用bigrquery下载表失败的“解析失败”问题

时间:2019-09-02 16:55:17

标签: r google-bigquery bigrquery

我在Windows 10上使用R和bigrquery包访问bigquery的某些数据库。一切正常,但是当尝试使用bq_table_download函数下载表时,出现此错误:

Error in bq_parse_files(schema_path, page_paths, n = page_info$n_rows,  : 
  Failed to parse

当我尝试下载一些公共数据时,

> df <- bq_table_download("publicdata.samples.natality", max_results = 35000)
Downloading 35,000 rows in 4 pages.
Error in bq_parse_files(schema_path, page_paths, n = page_info$n_rows,  : 
  Failed to parse 'C:\Users\...'

填充了与上述相同的错误。

这是我的会话信息:

R version 3.6.0 (2019-04-26)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 15063)

Matrix products: default

locale:
[1] LC_COLLATE=Spanish_Colombia.1252  LC_CTYPE=Spanish_Colombia.1252   
[3] LC_MONETARY=Spanish_Colombia.1252 LC_NUMERIC=C                     
[5] LC_TIME=Spanish_Colombia.1252    

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

other attached packages:
[1] bigrquery_1.2.0.9000

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.2       crayon_1.3.4     assertthat_0.2.1 R6_2.4.0        
 [5] jsonlite_1.6     DBI_1.0.0        pillar_1.4.0     httr_1.4.1      
 [9] rlang_0.3.4      rstudioapi_0.10  tools_3.6.0      bit64_0.9-7     
[13] glue_1.3.1       bit_1.1-14       compiler_3.6.0   pkgconfig_2.0.2 
[17] tibble_2.1.1 

如何解决此问题?

0 个答案:

没有答案