All Products
Search
Document Center

DataWorks:GetPartition

Last Updated:Jun 11, 2026

Mengambil detail partisi untuk tabel Peta Data. Saat ini hanya mendukung tipe MaxCompute dan HMS (kluster EMR).

Deskripsi operasi

  1. DataWorks Basic Edition or a higher edition is required.

  2. Only MaxCompute and HMS (EMR cluster) table types are supported.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tidak ada otorisasi untuk operasi ini. Jika Anda mengalami masalah saat menjalankan operasi ini, hubungi dukungan teknis.

Parameter permintaan

Parameter

Type

Required

Description

Example

TableId

string

Yes

ID tabel. Anda dapat melihat hasil yang dikembalikan oleh operasi ListTables dan Konsep terkait entitas metadata.

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

Name

string

Yes

Nama partisi.

ds=20250101

Elemen respons

Element

Type

Description

Example

object

The response.

RequestId

string

The request ID.

D1E2E5BC-xxxx-xxxx-xxxx-xxxxxx

Success

boolean

Indicates whether the request was successful.

true

Partition Partition

Partition details.

Contoh

Respons sukses

JSONformat

{
  "RequestId": "D1E2E5BC-xxxx-xxxx-xxxx-xxxxxx",
  "Success": true,
  "Partition": {
    "TableId": "maxcompute-table:accountId::project::table",
    "Name": "ds=20250101",
    "CreateTime": 1700192563000,
    "ModifyTime": 1700192563000,
    "RecordCount": 1000000,
    "DataSize": 4096
  }
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.