Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 1003 Bytes

File metadata and controls

46 lines (34 loc) · 1003 Bytes

Admin Metadata Management

Business metadata allows you to attach technical and organizational context to any entity (Catalog, Warehouse, Table, View).

Commands

Get Metadata

Retrieve the metadata JSON attached to an entity.

Syntax:

pangolin-admin get-metadata --entity-type <type> --entity-id <id>

Entity Types: catalog, warehouse, table, view.

Example:

pangolin-admin get-metadata --entity-type table --entity-id sales.orders

Set Metadata

Upsert a key-value pair into an entity's metadata.

Syntax:

pangolin-admin set-metadata --entity-type <type> --entity-id <id> <key> <value>

Example:

pangolin-admin set-metadata --entity-type table --entity-id sales.orders owner "Data Engineering"

Delete Metadata

Remove all business metadata from an asset.

Syntax:

pangolin-admin delete-metadata --asset-id <uuid>

Example:

pangolin-admin delete-metadata --asset-id "table-uuid"