“无法读取电子表格。错误代码:PERMISSION_DENIED” - Tableau 自定义查询

Dar*_*ita 10 google-sheets tableau-api google-bigquery

我正在开发 Tableau 2020.2。我有一个 BigQuery 表 (TableA),它从 Google 工作表 (Sheet1) 中获取实时数据。当我尝试直接在 Tableau 数据源中连接 Google 工作表时,它正在连接。此外,当我将表(TableA)直接拖放到数据源中的“Drag tables here”上时,它工作正常。但是当我尝试在 TableA 上运行自定义查询时,它抛出以下错误:

Bad Connection: Tableau could not connect to the data source.
Error Code: 015CFBE6
The Google BigQuery service was unable to process this request.
Error while reading table: TableA, error message: Failed to read the spreadsheet. Error code: PERMISSION_DENIED

Run Code Online (Sandbox Code Playgroud)

小智 0

如果您的 BigQuery 表具有数百万/数十亿的大量数据,那么最好仅在 BigQuery 上有一个聚合表。由于它必须检索所有表数据,有时连接会由于时间限制而失败。