Files
doris/docs/documentation/en/sql-reference/sql-statements/Data Manipulation/GET LABEL STATE_EN.md
xy720 7a0c7f45b2 Add English documents for Doris (#1719)
The english documents is translated by machine. So It may has some mistake.
We will fix them later
2019-08-29 13:47:15 +08:00

1.1 KiB

GET LABEL STATE

Description NAME: get_label_state: get label's state

SYNOPSIS curl -u user:passwd http://host:port /api /{db}/{label}// u state

DESCRIPTION This command is used to view the transaction status of a Label

RETURN VALUES After execution, the relevant content of this import will be returned in Json format. Currently includes the following fields Label: The imported label, if not specified, is a uuid. Status: Whether this command was successfully executed or not, Success indicates successful execution Message: Specific execution information State: It only makes sense if Status is Success UNKNOWN: No corresponding Label was found PREPARE: The corresponding transaction has been prepared, but not yet committed COMMITTED: The transaction has been committed and cannot be canceled VISIBLE: Transaction submission, and data visible, cannot be canceled ABORTED: The transaction has been ROLLBACK and the import has failed.

ERRORS

'35;'35; example

  1. Obtain the state of testDb, testLabel curl -u root http://host:port /api /testDb /testLabel / u state

keyword

GET, LABEL, STATE