All Products
Search
Document Center

DataWorks:GetSchema

Last Updated:Jun 11, 2026

Mengambil detail skema tabel tertentu di Peta Data. Hanya skema MaxCompute dan Gudang Data Real-time yang didukung.

Deskripsi operasi

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

  2. Only MaxCompute and Hologres 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

Id

string

Yes

ID. Lihat operasi ListSchemas dan Konsep terkait entitas metadata.

Formatnya adalah ${EntityType}:${Instance ID or escaped URL}:${Catalog ID}:${Database name}:${Schema name}. Gunakan string kosong sebagai placeholder untuk level yang hilang.

Catatan

Untuk tipe MaxCompute, gunakan string kosong sebagai placeholder untuk level ID instans. Nama database adalah nama Proyek MaxCompute, dan Proyek harus memiliki model tiga level yang diaktifkan.

Contoh:

maxcompute-schema:::project_name:schema_name (Model tiga level diaktifkan untuk Proyek MaxCompute.)

holo-schema:instance_id::database_name:schema_name

Catatan


instance_id: ID instans Gudang Data Real-time.
database_name: Nama database.
database_name: Nama Proyek MaxCompute.
schema_name: Nama skema.

maxcompute-schema:::project_name:schema_name

Elemen respons

Element

Type

Description

Example

object

The response.

RequestId

string

The request ID.

A89B5D9D-74EA-XXXXXX

Success

boolean

Indicates whether the request was successful.

true

Schema Schema

The schema information.

Contoh

Respons sukses

JSONformat

{
  "RequestId": "A89B5D9D-74EA-XXXXXX",
  "Success": true,
  "Schema": {
    "Id": "maxcompute-schema:123456XXX::test_project:default\nholo-schema:h-abc123xxx::test_db:test_schema",
    "Name": "test_db",
    "Comment": "test comment",
    "Type": "MANAGED",
    "ParentMetaEntityId": "maxcompute-project:123456XXX::test_project\nholo-database:h-abc123xxx::test_db",
    "CreateTime": 1736852168000,
    "ModifyTime": 1736852168000
  }
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.