【发布时间】:2017-05-03 18:41:32
【问题描述】:
我正在尝试使用以下内容从 BigQuery 将表检索到 Rstudio Server:
project <- "my-project"
sql <- 'SELECT * FROM [my-project:dataset.table]'
data <- query_exec(sql, project = project, max_pages = Inf)
错误:响应太大而无法返回。考虑在您的作业配置中将 allowLargeResults 设置为 true。更多详情请见https://cloud.google.com/bigquery/querying-data#largequeryresults
我在浏览器中配置表格时检查了“允许大结果”,仍然得到同样的错误。
也使用了以下方法,但没有任何成功。
bq query --allow_large_results --destination_table=dataset.table1 "select x, y, z from dataset.table"
【问题讨论】:
标签: google-bigquery rstudio-server