メインコンテンツまでスキップ

Delta Sharing データ共有へのアクセスを管理する (プロバイダー向け)

この記事では、データ受信者に Delta Sharing 共有へのアクセス権を付与する方法について説明します。 また、アクセスを表示、更新、および取り消す方法についても説明します。

必要条件

受信者とデータを共有するには:

  • Unity Catalog メタストアがアタッチされている Databricks ワークスペースを使用する必要があります。
  • Unity-Catalog 対応のクラスター アクセス モードを使用する SQLウェアハウスまたはクラスターを使用する必要があります。
  • 共有と受取人はすでに定義されている必要があります。
  • 次のいずれかである必要があります。
    • メタストア管理者。
    • 共有オブジェクトと受信者オブジェクト (USE SHARE + SET SHARE PERMISSION) または共有の所有者) および (USE RECIPIENT または受信者の所有者) の両方に対する委任されたアクセス許可または所有権を持つユーザー。

共有するためのアクセス権を受信者に付与する

受信者に共有アクセス権を付与するには、カタログ エクスプローラー、DatabricksUnity CatalogCLI 、またはSQL DatabricksノートブックまたはDatabricks SQL クエリ エディターの コマンドを使用できます。

必要な権限 : 次のいずれかです。

  • メタストア管理者。
  • 共有オブジェクトと受信者オブジェクト ((USE SHARE + SET SHARE PERMISSION) または共有の所有者) および (USE RECIPIENT または受信者の所有者) の両方に対する委任されたアクセス許可または所有権。

To add recipients to a share, starting at the share v:

  1. In your Databricks workspace, click Catalog icon Catalog.

  2. At the top of the Catalog pane, click the Gear icon gear icon and select Delta Sharing.

    Alternatively, from the Quick access page, click the Delta Sharing > button.

  3. On the Shared by me tab, find and select the share.

  4. Click Add recipient.

  5. On the Add recipient dialog, start typing the recipient name or click the drop-down menu to select the recipients you want to add to the share.

  6. Click Add.

To grant share access to a recipient, starting at the recipient:

  1. In your Databricks workspace, click Catalog icon Catalog.

  2. At the top of the Catalog pane, click the Gear icon gear icon and select Delta Sharing.

    Alternatively, from the Quick access page, click the Delta Sharing > button.

  3. On the Shared by me tab, click Recipients and select the recipient.

  4. Click Grant share.

  5. On the Grant share dialog, start typing the share name or click the drop-down menu to select the shares you want to grant.

  6. Click Grant.

共有への受信者のアクセスを取り消す

共有への受信者のアクセスを取り消すには、Catalog Explorer、Databricks Unity Catalog CLI、または Databricks ノートブックまたは Databricks SQL クエリエディターの REVOKE ON SHARE SQL コマンドを使用できます。

必要なアクセス許可 : メタストア管理者、 USE SHARE 権限を持つユーザー、または共有オブジェクトの所有者。

To revoke a recipient’s access to a share, starting at the share:

  1. In your Databricks workspace, click Catalog icon Catalog.

  2. At the top of the Catalog pane, click the Gear icon gear icon and select Delta Sharing.

    Alternatively, from the Quick access page, click the Delta Sharing > button.

  3. On the Shared by me tab, find and select the share.

  4. On the Recipients tab, find the recipient.

  5. Click the Kebab menu kebab menu and select Revoke.

  6. On the confirmation dialog, click Revoke.

To revoke a recipient’s access to a share, starting at the recipient:

  1. In your Databricks workspace, click Catalog icon Catalog.

  2. At the top of the Catalog pane, click the Gear icon gear icon and select Delta Sharing.

    Alternatively, from the Quick access page, click the Delta Sharing > button.

  3. On the Shared by me tab, click Recipients and select the recipient.

  4. On the Shares tab, find the share.

  5. Click the Kebab menu kebab menu on the share row and select Revoke.

  6. On the confirmation dialog, click Revoke.

株式の交付金や受取人が保有する助成金を表示します

共有の現在の許可を表示するには、Catalog Explorer、Databricks Unity Catalog CLI、または Databricks ノートブックまたは Databricks SQL クエリエディターの SHOW GRANTS ON SHARE SQL コマンドを使用できます。

必要なアクセス許可 : 共有へのアクセス権を付与された受信者を表示する場合は、メタストア管理者、 USE SHARE 権限を持つユーザー、または共有オブジェクトの所有者である必要があります。 受信者に付与された共有を表示する場合は、メタストア管理者、 USE RECIPIENT 権限を持つユーザー、または受信者オブジェクトの所有者である必要があります。

To view recipients with access to a share:

  1. In your Databricks workspace, click Catalog icon Catalog.

  2. At the top of the Catalog pane, click the Gear icon gear icon and select Delta Sharing.

    Alternatively, from the Quick access page, click the Delta Sharing > button.

  3. On the Shared by me tab, find and select the share.

  4. Go to the Recipients tab to view all recipients who have access to the share.

受信者が現在所有している共有権限を表示するには、カタログ エクスプローラー、Databricks CLI、または Databricks ノートブックまたは Databricks SQL クエリ エディターの SHOW GRANTS TO RECIPIENT SQL コマンドを使用できます。

To view shares granted to a recipient:

  1. In your Databricks workspace, click Catalog icon Catalog.

  2. At the top of the Catalog pane, click the Gear icon gear icon and select Delta Sharing.

    Alternatively, from the Quick access page, click the Delta Sharing > button.

  3. On the Shared by me tab, click Recipients and select the recipient.

  4. Go to the Shares tab to view all shares that the recipient has access to.