Modifying Data Shares

Update a Data Share in Cloudera Data Catalog: change some settings while the Share is Shared, or use Modify to edit assets and user membership, then publish again.

What you can change depends on whether the Data Share is in Shared or Not Shared state (similar to a draft):

Adding or removing assets
You can add or remove Iceberg table assets only while the Share is Not Shared.
Adding or removing users
You can add external users to a Shared Share. Revoking a user's access to the Share (removing them from the Share) is only possible while in Not Shared state after you click Modify.
Per-user access time
You can change the access date for users who already have access while the Share is Shared.
Share expiration
You can change the overall Data Share expiration time while the Share is Shared.
While the Share is Shared, you can edit the following metadata using the icon on the Share details page:
Data Share name
Share expiration
Figure 1. Editing expiration time
Summary
Tags
Keywords
Terms & Conditions

You must have the DataShareAdmin resource role for the relevant environment.

  1. In Cloudera Data Catalog, go to Data Sharing and open the Data Share you want to change.
  2. If the Share status is Shared, click Modify.
    Figure 2. Modify dialog for a published Data Share
  3. In the confirmation dialog, click Modify Share.

    The Share details page reloads with Not Shared status. You can now edit the Share using the same sections as in the New Share wizard flow. For step-level guidance, see https://docs.cloudera.com/data-catalog/cloud/data-sharing-data-catalog/topics/dc-creating-a-new-share.html.

    Figure 3. Share details page in Not Shared state

Make your changes in the Data Share:

Adding or removing assets
Figure 4. Adding assets
Figure 5. Removing assets
Editing access time
  1. Click the icon, then Edit Access Time.
  2. Select a new date.
Revoking user access
  1. Click the icon, then Revoke Access.
  2. Confirm revoking the user's access.
  1. Update the Share as needed (for example, assets, users, terms and conditions, or additional information), then click Share and Confirm Sharing to publish the updated Share.
    Figure 6. Confirm Sharing dialog

The Data Share is published again with Shared status. External users receive access consistent with the updated configuration and assignments.

Figure 7. Published Data Share