Belirtilen tablo hakkında ayrıntılı bilgi alır.
Kullanım notları
Bu API yalnızca Iceberg tablolarını destekler; Lance tablolarını desteklemez. Lance tablolarını sorgulamak için Lance REST Namespace API veya Lance ekosistemini (Spark, Trino ve diğer hesaplama motorları) kullanın.
Tabloyu ada göre (tableBucketARN, namespace ve name) veya ARN'ye göre (tableArn) sorgulayın. Bu iki yöntem birbirini dışlar.
İzinler
|
|
|
|
|
|
|
|
İstek sözdizimi
GET /get-table HTTP/1.1
Host: cn-hangzhou.oss-tables.aliyuncs.com
Date: GMT Date
Authorization: SignatureValue
İstek parametreleri
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Yanıt parametreleri
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Örnekler
İstek örneği
GET /get-table?tableBucketARN=acs%3Aosstables%3Acn-hangzhou%3A1234567890%3Abucket%2Fmy-table-bucket&namespace=my_namespace&name=my_table HTTP/1.1
Host: cn-hangzhou.oss-tables.aliyuncs.com
Date: Thu, 10 Apr 2025 08:00:00 GMT
Authorization: OSS4-HMAC-SHA256 Credential=LTAI********************/20250417/cn-hangzhou/osstables/aliyun_v4_request,Signature=a7c3554c729d71929e0b84489addee6b2e8d5cb48595adfc51868c299c0c****
Yanıt örneği
HTTP/1.1 200 OK
Server: AliyunOSS
x-oss-request-id: 5C06A3B67B8B5A3DA422****
x-oss-server-time: 3
Content-Type: application/json
{
"name": "my_table",
"namespace": ["my_namespace"],
"tableARN": "acs:osstables:cn-hangzhou:1234567890:bucket/my-table-bucket/table/table_id",
"format": "ICEBERG",
"versionToken": "aaabbb",
"metadataLocation": "oss://data-bucket/metadata/00000-xxx.metadata.json",
"warehouseLocation": "oss://data-bucket/warehouse/",
"type": "customer",
"createdAt": "2024-01-01T00:00:00.000000Z",
"createdBy": "1234567890",
"modifiedAt": "2024-06-01T00:00:00.000000Z",
"modifiedBy": "1234567890",
"ownerAccountId": "1234567890",
"tableBucketId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"namespaceId": "ns-xxxxxxxx"
}
SDK'ler
Desteklenen SDK'ler:
ossutil komut satırı aracı
Eşdeğer ossutil komutu: get-table.
Hata kodları
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|