DESCRIBE SHARE

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.

Returns the metadata of an existing share. The metadata information includes share name, owner, and timestamps of creation and last modification.

To list the content of a share use SHOW ALL IN SHARE.

Since: Databricks Runtime 10.3

Syntax

[ DESC | DESCRIBE ] SHARE share_name

Parameters

  • share_name

    The name of an existing share. If the name does not exist, an exception is thrown.

Examples

> CREATE SHARE vaccine COMMENT 'vaccine data to publish';
> DESCRIBE SHARE vaccine;
  name      created_at                   created_by                 comment
  --------- ---------------------------- -------------------------- -----------------------
  vaccine   2022-01-01T00:00:00.000+0000 alwaysworks@databricks.com vaccine data to publish