Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 1.86 KB

DATASHARE_2-0.md

File metadata and controls

25 lines (20 loc) · 1.86 KB

Back to Datashare

Overview

Datashare 2.0 is a major release that incorporates new delivery channels for Cloud Storage and Pub/Sub topics. Additionally, it introduces new IAM roles used by Datashare for granting/sharing access to GCP objects.

Enhancements

Breaking Changes

  • The Datashare API manager custom IAM role ID was renamed from custom.ds.api.mgr to datashare.api.manager.
    • If performing a Datashare upgrade, you will need to manually grant access for the account ds-api-mgr to the new role datashare.api.manager, and revoke and delete custom.ds.api.mgr.
  • For granting BigQuery data viewer access to datasets and views/tables, Datashare previously granted the role bigquery.dataViewer to each respective account at the object level. With the new changes, Datashare will now grant access to the new role datashare.bigquery.dataViewer.
    • If performing a Datashare upgrade, you will need to manually revoke access for users granted access through Datashare to bigquery.dataViewer. Datashare will automatically sync existing users to the new datashare.bigquery.dataViewer role.

Open Items

Migrating

  • Run the upgrade script
  • Initialize database schema to perform table patches. Execute the following scripts through the BigQuery command line or through the BigQuery Console. Ensure that you have the proper projectId selected before running.
    UPDATE `datashare.policy` set bigQueryEnabled = true WHERE isDeleted IS FALSE