Majico
Majico

Reputation: 3830

BigQuery data access to two different users without duplicating data

We have two types of users and two projects.

users:

As it is not possible to give access to users based on a Column (and not even based on a Table because access control on BigQuery is just on the Dataset level), the easiest solution which comes to mind is to:

How we can find a solution without duplicating data?

Upvotes: 0

Views: 272

Answers (1)

Graham Polley
Graham Polley

Reputation: 14791

Views are actually the perfect solution to your problem. You simply restrict the columns each group sees with each view in the underlying SQL of the view.

For more details, see:

Upvotes: 1

Related Questions