访问 Google Sheets 联合表时的 BigQuery 凭据问题 [英] BigQuery Credential Problems when Accessing Google Sheets Federated Table

查看:29
本文介绍了访问 Google Sheets 联合表时的 BigQuery 凭据问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将一个表定义为一个联合表,它指的是一个谷歌表.当我从 google bigquery web UI 查询它时,它运行良好.但是,如果我尝试使用 Tableau Software BigQuery 驱动程序查询它,我会收到以下错误消息:找不到合适的凭据来访问 Google Drive.联系桌子主人寻求帮助.

I defined a table as a federated table which refers to a google sheet. It works perfectly well when I query it from the google bigquery web UI. However, if I try to query it using the Tableau Software BigQuery driver, I get the following error message: No suitable credentials found to access Google Drive. Contact the table owner for assistance.

关于我的设置的一些事实:

A few facts about my setup:

  1. 在 Tableau 中使用 BigQuery 驱动程序时,我使用的用户 ID 与进入 BigQuery 网页界面时使用的用户 ID 相同.
  2. 从 Tableau 到原生 BigQuery 表的查询工作正常.
  3. 我在我的云帐户中启用了 google drive api.
  4. google sheet和google big query账号在同一个google用户下.
  5. 我可以在该帐户下将 bigquery 查询保存为 Google 表格.
  6. 我尝试将工作表共享给任何拥有 URL 的人",但它不起作用.

推荐答案

这是 Tableau 应该解决的问题.问题是当他们向 BigQuery 发送请求时,他们只传递 BigQuery API 范围.但是,他们也应该请求 GoogleDrive 范围.

This is something Tableau should fix. The problem is that when they send request to BigQuery, they only pass BigQuery API scope. However they should also request GoogleDrive scope.

这篇关于访问 Google Sheets 联合表时的 BigQuery 凭据问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆