SHOW LOGS
Shows the commit history or log of the catalog or the selected reference. This command is similar to the git log command.
SyntaxSHOW LOG[S]
[ AT { REF[ERENCE] | BRANCH | TAG | COMMIT } <reference_name> ]
[ IN <catalog_name> ]
Parameters
AT ( REF[ERENCE] | BRANCH | TAG | COMMIT ) <reference_name> String Optional
Specifies the reference for which you want to show the commit history. When this parameter is omitted, the current reference is used.
REF
: Identifies a specific branch, tag, or commit.BRANCH
: Identifies the branch.TAG
: Identifies the tag.COMMIT
: Identifies the commit. Commit hashes must be enclosed in double quotes (for example,“ff2fe50fef5a030c4fc8e61b252bdc33c72e2b6f929d813833d998b8368302e2”
).
IN <catalog_name> String Optional
The name of the Arctic catalog used. When this parameter is omitted, the current Arctic catalog in the query context is used.
Examples
Show the commit history of the current catalogSHOW LOGS
SHOW LOGS
AT BRANCH myBranch
SHOW LOGS
AT COMMIT "c7a79c74adf76649e643354c34ed69abfee5a3b070ef68cbe782a072b0a418ba"
in myCatalog