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.
SyntaxSHOW LOGS
[ AT { REF[ERENCE] | BRANCH | TAG | COMMIT } <refValue> ]
[ IN <catalog_name> ]
Parameters
AT ( REF[ERENCE] | BRANCH | TAG | COMMIT ) <refValue>
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
Was this page helpful?
Glad to hear it! Thank you for your feedback.
Sorry to hear that. Thank you for your feedback.