Recupera detalhes da tabela, incluindo esquema e data de criação.
Observações
Identifique a tabela pelo ARN com --table-arn ou combine --table-bucket-arn, --namespace e --name.
Sintaxe
ossutil tables-api get-table (--table-arn value | --table-bucket-arn value --namespace value --name value) [flags]
|
Parâmetro |
Tipo |
Descrição |
|
--name |
string |
Nome da tabela. Requer --table-bucket-arn e --namespace. |
|
--namespace |
string |
Namespace da tabela. Requer --table-bucket-arn e --name. |
|
--table-arn |
string |
ARN da tabela no formato |
|
--table-bucket-arn |
string |
ARN do bucket de tabelas no formato |
O comando get-table corresponde à operação da API GetTable.
Todas as opções globais do ossutil são compatíveis.
Exemplos
-
Descreva uma tabela por namespace e nome:
ossutil tables-api get-table --table-bucket-arn acs:osstables:cn-hangzhou:1234567890:bucket/my-table-bucket --namespace my_namespace --name my_table -
Descreva uma tabela por ARN:
ossutil tables-api get-table --table-arn acs:osstables:cn-hangzhou:1234567890:bucket/my-table-bucket/table/my_namespace/my_table