Todos os produtos
Search
Central de documentação

DataWorks:Table

Última atualização: Oct 22, 2026

Parâmetro

Tipo

Descrição

Exemplo

object

The data table object.

Id

string

The ID. For more information, see Concepts related to metadata entities.

The format is ${EntityType}:${Instance ID or escaped URL}:${Data catalog identifier}:${Database name}:${Schema name}:${Table name}. Empty strings are used as placeholders for non-existent levels.

Nota

For MaxCompute and DLF types, an empty string is used as a placeholder for the instance ID. For the MaxCompute type, the database name is the MaxCompute project name. Projects with the three-tier model enabled must provide the schema name. For projects without the three-tier model enabled, an empty string is used as a placeholder for the schema name.

Nota

For the StarRocks type, the data catalog identifier is the catalog name. For the DLF type, the data catalog identifier is the catalog ID. Other types do not support the catalog level, and an empty string can be used as a placeholder.

The ID formats for several common types are as follows:

maxcompute-table:::project_name:[schema_name]:table_name

dlf-table::catalog_id:database_name::table_name

hms-table:instance_id::database_name::table_name

holo-table:instance_id::database_name:schema_name:table_name

mysql-table:(instance_id|encoded_jdbc_url)::database_name::table_name

Nota

Where:
instance_id: The instance ID. Required when the data source is registered in instance mode.
encoded_jdbc_url: The URL-encoded JDBC connection string. Required when the data source is registered by using a connection string.
catalog_id: The DLF catalog ID.
project_name: The MaxCompute project name.
database_name: The database name.
schema_name: The schema name. For the MaxCompute type, this is required only when the three-tier model is enabled for the project. If the three-tier model is not enabled, an empty string is used as a placeholder.
table_name: The table name.






dlf-table::catalog_id:database_name::table_name

Name

string

The name.

table_name

Comment

string

The comment.

Test table

TableType

string

O tipo da tabela. Os valores válidos dependem do tipo de coletor de metadados.

TABLE

PartitionKeys

array

A lista de chaves de partição. Esta lista está vazia para tabelas não particionadas.

string

The partition key.

ds

ParentMetaEntityId

string

The ID of the parent metadata entity. For more information, see Concepts related to metadata entities.

  • For types that support schemas (maxcompute/holo/postgresql/sqlserver/hybriddb_for_postgresql/oracle. For the MaxCompute type, the three-tier model must be enabled for the project), ParentMetaEntityId is the database schema to which the table belongs. The format is ${EntityType}:${Instance ID or escaped URL}:${Data catalog identifier}:${Database name}:${Schema name}. Empty strings are used as placeholders for non-existent levels.

  • For other types, ParentMetaEntityId is the database to which the table belongs. The format is ${EntityType}:${Instance ID or escaped URL}:${Data catalog identifier}:${Database name}. Empty strings are used as placeholders for non-existent levels.

Nota

For MaxCompute and DLF types, an empty string is used as a placeholder for the instance ID. For the MaxCompute type, the database name is the MaxCompute project name.

Nota

For the StarRocks type, the data catalog identifier is the catalog name. For the DLF type, the data catalog identifier is the catalog ID. Other types do not support the catalog level, and an empty string can be used as a placeholder.

The ParentMetaEntityId formats for several common types are as follows:

maxcompute-project:::project_name

maxcompute-schema:::project_name:schema_name (Only when the three-tier model is enabled for the project)

dlf-database::catalog_id:database_name

hms-database:instance_id::database_name

holo-schema:instance_id::database_name:schema_name

mysql-database:(instance_id|encoded_jdbc_url)::database_name

Nota

Where:
instance_id: The instance ID. Required when the data source is registered in instance mode.
encoded_jdbc_url: The URL-encoded JDBC connection string. Required when the data source is registered by using a connection string.
catalog_id: The DLF catalog ID.
project_name: The MaxCompute project name.
database_name: The database name.
schema_name: The schema name.





dlf-database::catalog_id:database_name

CreateTime

integer

A hora de criação. O valor é um timestamp em milissegundos.

1736852168000

ModifyTime

integer

A hora de modificação. O valor é um timestamp em milissegundos.

1736852168000

TechnicalMetadata

object

The technical metadata.

Owner

string

The owner.

test_user

Location

string

The storage location.

oss://test-bucket/test_tbl

Compressed

boolean

Especifica se a tabela está compactada.

false

InputFormat

string

The input format.

org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat

OutputFormat

string

The output format.

org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat

SerializationLibrary

string

A classe usada pelo SerDe.

org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe

Parameters

object

The parameter information.

string

The parameter information.

value

BusinessMetadata

object

Os metadados de negócios relacionados ao DataWorks, incluindo instruções de uso, tags, categorias, tarefas de saída upstream e informações estendidas.

Readme

string

The instructions.

## Instructions

CustomAttributes

object

Os valores de atributo personalizados. A chave é o identificador do atributo personalizado e o valor é a lista de valores do atributo.

array

A lista de valores do atributo.

string

The attribute value.

John Doe

Tags

array

The list of tags.

object

The tag information.

Key

string

A chave da tag. Este parâmetro não pode estar vazio.

tag_key

Value

string

O valor da tag. Este parâmetro pode estar vazio.

tag_value

Categories

array

The list of categories.

array

A lista de hierarquia de uma única categoria (categoria de vários níveis).

object

The category information.

Id

string

The category ID.

CATEGORY.456

Name

string

The name.

Test category

ParentId

string

O ID da categoria pai. Este campo pode estar vazio.

CATEGORY.123

UpstreamTasks

array

A lista de tarefas de saída upstream.

object

The upstream output task.

Id

integer

The task ID.

123456

Name

string

The task name.

test_task

Extension

object

As informações de extensão. Atualmente, apenas o tipo MaxCompute é suportado.

ProjectId

integer

The workspace ID.

234

EnvType

string

O tipo de ambiente. Valores válidos:

  • Prod: Ambiente de produção.

  • Dev: Ambiente de desenvolvimento.

Dev

ViewCount

integer

The number of views.

0

ReadCount

integer

The number of reads.

0

FavorCount

integer

The number of favorites.

0

StatisticsInfos

object

As métricas estatísticas da tabela. A chave é o nome da métrica e o valor é o valor estatístico em formato de string. As métricas atuais incluem o número de execuções de produção nos últimos 30 dias (prodRunCount30d), o número de consultas ad hoc nos últimos 30 dias (adhocQueryCount30d), o número de tarefas dependentes downstream (downstreamTaskCount30d) e o número de tabelas dependentes downstream (downstreamTableCount30d). Métricas sem valores estatísticos não são retornadas.

string

O valor da métrica estatística, representado como uma string de número inteiro decimal. Por exemplo, se a chave for prodRunCount30d e o valor for 128, isso indica 128 execuções de produção nos últimos 30 dias.

128