我有一些大查询表。bq_table_download 函数适用于大多数表,但是,它显示无法解析 1 个表的错误。
bigrquery::bq_auth()
sql_query=paste0("select * from `project_id.dataset.table_name`")
bq_table_ext=bq_table_download(bq_project_query(project_id, sql_query))
为了解决这个问题,我还按照建议使用了 bq_table_download 有下载配额限制。
options(scipen = 20)
但是,我仍然无法弄清楚什么是问题。这是错误代码的快照
Error in bq_parse_files(schema_path, c(path_first_chunk, chunk_plan$dat$path), :
Failed to parse '/tmp/Rtmpjd5eQN/bq-download-8650ad590.json'
Calls: ... master_table_base -> bq_table_download -> bq_parse_files
In addition: Warning messages:
1: In writeBin(result$content, con) : problem writing to connection
2: In writeBin(result$content, con) : problem writing to connection
Execution halted