Skip to main content

SHOW LOGS Preview

Shows the commit history or log of the catalog or the selected reference. This command is similar to the git log command.

Syntax
SHOW LOGS
[ AT { REF[ERENCE] | BRANCH | TAG | COMMIT } <refValue> ]
[ IN <catalog_name> ]

Parameters

{{< sql-section file="data/sql/logs.json" data="showingLogs" >}}

Examples

Show the commit history of the current catalog
SHOW LOGS
Show the commit history for the specified branch
SHOW LOGS
AT BRANCH myBranch
Show the commit history from the specified commit in the specified catalog
SHOW LOGS
AT COMMIT "c7a79c74adf76649e643354c34ed69abfee5a3b070ef68cbe782a072b0a418ba"
in myCatalog