GRANT ON SHARE (Databricks SQL)

Preview

Delta Sharing is in Public Preview. To participate in the preview, you must enable the External Data Sharing feature group in the Databricks Account Console. See Enable the External Data Sharing feature group for your account.

Delta Sharing is subject to applicable terms. Enabling the External Data Sharing feature group represents acceptance of those terms.

Grants access to a share to a recipient.

Syntax

GRANT SELECT ON SHARE share_name TO RECIPIENT recipient_name

Parameters

  • share_name

    The name of the share which the recipient is granted access to. If the share does not exist an error is raised.

  • recipient_name

    The name of the recipient to which access to teh share is granted. If the recipient does not exist an error is raised.

Examples

> GRANT SELECT ON SHARE vaccines TO RECIPIENT jab_me_now_corp;