SHARE_RECIPIENT_PRIVILEGES
Applies to: Databricks SQL Databricks Runtime 10.4 LTS and above
INFORMATION_SCHEMA.SHARE_RECIPIENT_PRIVILEGES lists recipients that have privileges on a share.
Information is displayed only for shares or recipients for which the user has permission to interact with either.
This is an extension to the SQL Standard Information Schema.
Definition
The SHARE_RECIPIENT_PRIVILEGES
relation contains the following columns:
Name |
Data type |
Nullable |
Description |
---|---|---|---|
|
|
No |
Principal that granted the privilege. |
|
|
No |
Recipient to which the privilege is granted. |
|
|
No |
Share on which the privilege is granted. |
|
|
No |
Privilege being granted. |
|
|
Yes |
The ancestor relation that the privilege is inherited from. |
Constraints
The following constraints apply to the SHARE_RECIPIENT_PRIVILEGES
relation:
Class |
Name |
Column List |
Description |
---|---|---|---|
Primary key |
|
|
Unique identifier for the granted privilege. |
Foreign key |
|
|
References RECIPIENTS |
Foreign key |
|
|
References SHARES |