TableModel

Updated at:
Copy as MD

Parameter

Type

Description

Example

object

The table metadata.

TblId

integer

The table ID.

123

DbName

string

The logical database name.

example

TableName

string

The logical table name.

tableName

TableType

string

The table type.

external_table

PartitionKeys

array

The partition keys.

FieldSchemaModel

The partition column information.

Parameters

object

The parameters.

{"format":"columnstore"}

string

The parameter value.

key:value

Sd StorageDescriptorModel

The storage descriptor information.

CreateTime

string

The creation time.

2023-01-05 13:17:55

ViewOriginalText

string

The SQL statement entered when creating the view.

ViewOriginalText

ViewExpandedText

string

The normalized result of the SQL statement used to create the view.

ViewExpandedText

Temporary

boolean

Specifies whether the table is a temporary table.

false

Comment

string

The description.

description

Cols

array

The column information.

FieldSchemaModel

The detailed column information.

DistributeColumns

array

The distribution columns.

FieldSchemaModel

The distribution column information.

PhysicalTableName

string

The physical table name.

physicalTableName

PhysicalDatabaseName

string

The physical database name.

physicalDatabaseName

DistributeType

string

The distribution type.

DistributeType

PartitionType

string

The partition type.

PartitionType

PartitionColumn

string

The partition column information.

colName

PartitionCount

integer

The number of partitions.

16

PreviousVersion

integer

The previous version.

1

CurrentVersion

integer

The current version.

2

UpdateTime

string

The update time.

2023-01-05 13:17:55

TableEngineName

string

The table engine name.

hive

IsAllIndex

boolean

Specifies whether full indexing is enabled.

true

BlockSize

integer

The block size.

64

Compression

string

The compression method.

Compression

RawTableName

string

The original table name.

RawTableName

SubpartitionType

string

The subpartition type.

SubpartitionColumn

SubpartitionColumn

string

The subpartition column information.

SubpartitionColumn

SubpartitionCount

integer

The number of subpartitions.

64

ArchiveType

string

The archive type.

ArchiveType

MaxColumnId

integer

The maximum column ID.

1

EnableDfs

boolean

Specifies whether DFS is enabled.

false

StoragePolicy

string

The storage policy.

StoragePolicy

HotPartitionCount

integer

The number of hot partitions.

32

IsFulltextDict

boolean

Specifies whether it is a full-text index dictionary.

false

RtIndexAll

boolean

Specifies whether all indexes are routed.

false

RouteColumns

array

The routing columns.

FieldSchemaModel

The routing column information.

RouteEffectiveColumn FieldSchemaModel

The effective routing column.

RtEngineType

string

The routing engine type.

RtEngineType

RtModeType

string

The routing mode type.

RtModeType

RouteType

string

The routing type.

routeType

DictEncode

boolean

Specifies whether encryption is enabled.

false

BucketCount

integer

The number of buckets.

16

Bucket

integer

The bucket number.

16

ViewSecurityMode

string

The view security pattern.

ViewSecurityMode

Indexes

array

The indexes.

CstoreIndexModel

The index column information.

CreatedBySource

string

The creation source of the table.

XIHE

CreatedByUser

string

The user who created the table.

example_user