All Products
Search
Document Center

:DataSource

更新时间:Jan 15, 2021

Description

The structure of a data source.

Parameters

Parameter

Type

Description

TableName

String

The name of the table.

GmtCreate

String

The creation time of the data source. The time must be in UTC.

GmtModified

String

The last modification time of the data source.

Meta

The parameters of the data source.

Type

String

The type of the data source. Only MaxCompute (formerly called ODPS) is supported.

ProjectName

String

The name of the MaxCompute project.

TableName

String

The name of the MaxCompute table.

Partition

String

The partition in the MaxCompute table. Example: ds=20180102.

AccessKeyId

String

The AccessKey ID that is used to access MaxCompute.

Timestamp

Integer

The timestamp. The value must be accurate to the millisecond. Example: 1544112000000.

Examples

ODPS

{
      "GmtCreate": "2018-12-07T02:24:26.000Z",
      "GmtModified": "2018-12-07T02:24:26.000Z",
      "TableName": "item",
      "Meta": {
        "Type": "ODPS",
        "Timestamp": 1544112000000,
        "AccessKeyId": "LTAIHhxxxxxxxxxx",
        "ProjectName": "openrec_gray",
        "TableName": "content_gul_item_autotest",
        "Partition": "ds=20181122"
      }
}