我已经关注了如何在Bigquery上创建授权视图的this tutorial . 但是,当用户尝试查询视图时,Bigquery说用户没有't have access to query the source table. From the tutorial, it appears that as long as the view is an authorized view in the source dataset, users should be able to query the view which queries the underlying table. Here'是我正在谈论的内容的示意图:

  • Source Datasetprivate_company

  • Source Table in above Datasetprivate_company_data

  • Users View Datasetpublic_company

  • Authorized View in above View Datasetpublic_company_view

预期行为:用户应该能够查询 public_company_view ,因为 public_company_viewprivate_company 数据集中的授权视图 . 用户还在IAM中拥有Bigquery.User权限 .

实际行为:用户无法查询 public_company_view ,因为用户无权查询 private_company_data (这是我在Bigquery中收到的错误消息) .