Bucket sharing allows you to share data between projects within an organization, giving you far greater organizational control over your data. You can now decide which projects, and therefore which users, have access to which data. This also helps speed up your data workflow and reduce your project usage totals because the data size and rows are counted only in the source project.
All changes and events in a shared bucket are propagated to its linked buckets; any tables you create in the shared bucket become immediately available in the destination projects.
You can specify who can link the bucket to a project:
There are some limitations to how shared buckets can be used:
If your bucket is already linked in other projects, you cannot drop it. Nor can you drop any of its children, tables or columns.
If you want to share project data, first share a bucket and then link it into the project.
Go to Storage and navigate to the detail of the bucket you want to share.
Then click Enable sharing
and confirm your action.
The bucket is now marked as Shared to organization
and is available for other projects.
Remember to add (link) it to each project manually.
Once your organization has shared buckets, the link button will become available in the Storage section. Click on it to link the bucket to the project.
Select shared bucket
and specify the new bucket name
and stage
.
The buckets list is grouped by the project name, and buckets are identified by their id and description.
This is all you need to do. The bucket is now linked into the project, and users can use its tables and data.
Removing a linked bucket from a project is as easy as deleting a standard bucket. Only the linked bucket gets deleted (including all tables in it) without affecting the shared bucket in any way.
Please keep in mind that before you can disable sharing or delete a shared bucket, you first have to unlink the bucket from all projects.