tencent cloud

문서Data Lake Compute

DESCRIBE TABLE

다운로드
포커스 모드
폰트 크기
마지막 업데이트 시간: 2024-08-07 17:13:35

Description

Supported engines: Presto and SparkSQL
Applicable table: Native and external tables
Purpose: View column information and metadata information on the data table.

Standard Statement

DESCRIBE [EXTENDED | FORMATTED] [db_name.]table_name [PARTITION partition_spec];

Parameter

[EXTENDED | FORMATTED]: Specify the format of the table.
table_name: Table name
[PARTITION partition_spec]: List of partitions in the table

Example

DESCRIBE tbl;
DESCRIBE FORMATTED tbl PARTITION (date_id = '2019-01-07');



도움말 및 지원

문제 해결에 도움이 되었나요?

피드백