Updated on 2026-11-06 GMT+08:00

Displaying Dataset Details

Syntax

DESCRIBE DATASET dataset_name

dataset_name: Name of an existing dataset in LakeFormation. If the name does not exist, an exception is thrown.

Returns a single row containing:

  • name, catalog, database, owner, storageLocation, datasetType (MANAGED/EXTERNAL), comment, format, contentTypes, tags
  • name STRING NOT NULL: Name of the dataset, used to identify the dataset object.
  • catalog STRING NOT NULL: Name of the catalog containing the dataset.
  • database STRING NOT NULL: Name of the schema containing the dataset.
  • owner STRING NOT NULL: Entity that owns the dataset.
  • storageLocation STRING: Path of the external location for an external dataset. For managed datasets, this value is NULL.
  • datasetType STRING NOT NULL: Dataset type. The value can be EXTERNAL or MANAGED.
  • comment STRING: Comment for the dataset.
  • format STRING: File format of the dataset.
  • contentTypes STRING: Content types of the dataset.
  • tags STRING: Tags or properties set on the dataset.

Sample Code

DESCRIBE DATASET my_external_dataset