首页 > 解决方案 > 在 Apps 脚本中启动查询时响应太大而无法在 BigQuery 中返回

问题描述

我在 Apps 脚本中使用服务 BigQuery。运行查询时,我收到以下错误:GoogleJsonResponseException:对 bigquery.jobs.getQueryResults 的 API 调用失败并出现错误:响应太大而无法返回。考虑在作业配置中指定目标表。有关更多详细信息,请参阅https://cloud.google.com/bigquery/troubleshooting-errors

在 Apps 脚本代码中,我设置了两个选项:allowLargeResults: true 和
destinationTable: { projectId: projectId, datasetId: datasetId, tableId: tableId, },

但似乎他们没有工作。有什么建议允许在 Apps 脚本中出现大的结果吗?

标签: google-apis-explorer

解决方案


推荐阅读