Skip to main content

DROP TAG Preview

Removes a tag from an Arctic catalog.

Syntax
DROP TAG [ IF EXISTS ] <tag_name>
{ AT COMMIT <commit_hash> | FORCE }
[ IN <catalog_name> ]

Parameters

{{< sql-section file="data/sql/tags.json" data="droppingATag" >}}

Examples

Drop a tag at the specified commit
DROP TAG myTag
AT COMMIT "ff2fe50fef5a030c4fc8e61b252bdc33c72e2b6f929d813833d998b8368302e2"
Use the FORCE parameter to drop the specified tag
DROP TAG myTag
FORCE