DESCRIVERE IL TAG REGOLAMENTATO

Si applica a:check contrassegnato con il segno di spunta sì di Databricks SQL contrassegnato come sì Databricks Runtime 18.1 e versioni successive , il segno di spunta contrassegnato come Solo catalogo Unity

Restituisce i metadati di un tag regolamentato esistente.

Sintassi

{ DESC | DESCRIBE } GOVERNED TAG tag_key [ AS JSON ]

Parametri

  • tag_key

    Chiave tag di un tag regolamentato esistente nell'account. Se non è presente alcun tag regolamentato con questa chiave di tag, Azure Databricks restituisce un errore di NOT_FOUND.

  • COME JSON

    Optional. Restituisce i metadati di tag regolamentati come stringa JSON anziché come report formattato.

Result

Restituisce un report formattato con i campi seguenti:

  • Tag Key: chiave del tag.
  • Id: identificatore univoco del tag regolamentato.
  • Description: descrizione, se impostata.
  • Values: valori consentiti, se definiti.
  • Create Time: timestamp al momento della creazione del tag regolamentato.
  • Update Time: timestamp dell'ultimo aggiornamento del tag regolamentato.

Examples

> DESCRIBE GOVERNED TAG isPii;
  info_name    info_value
  -----------  ---------------------------------------------------------------
  Tag Key      isPii
  Id           72eba6bd-4373-4026-b14a-6642cee9ee82
  Description  Indicates what personal identifiable information the asset contains
  Values       true, false
  Create Time  2025-09-03 16:36:58.027
  Update Time  2026-02-14 01:20:33.443