Catalog - Get Table Partition
從 Data Lake Analytics 目錄擷取指定的數據表分割區。
GET https://{accountName}.{adlaCatalogDnsSuffix}/catalog/usql/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/partitions/{partitionName}?api-version=2016-11-01
URI 參數
名稱 | 位於 | 必要 | 類型 | Description |
---|---|---|---|---|
account
|
path | True |
string |
要在其中執行目錄作業的 Azure Data Lake Analytics 帳戶。 |
adla
|
path | True |
string |
取得作為所有 Azure Data Lake Analytics 目錄服務要求的基底的 DNS 後綴。 |
database
|
path | True |
string |
包含數據分割的資料庫名稱。 |
partition
|
path | True |
string |
數據表分割區的名稱。 |
schema
|
path | True |
string |
包含數據分割的架構名稱。 |
table
|
path | True |
string |
包含數據分割的數據表名稱。 |
api-version
|
query | True |
string |
用戶端 API 版本。 |
回應
名稱 | 類型 | Description |
---|---|---|
200 OK |
已成功擷取指定資料庫、架構和數據表中指定之數據表分割區的詳細數據。 |
範例
Retrieves the specified table partition from the Data Lake Analytics catalog
Sample Request
GET https://contosoadla.azuredatalakeanalytics.net/catalog/usql/databases/master/schemas/dbo/tables/test_table_name/partitions/test_partition_name?api-version=2016-11-01
Sample Response
{
"computeAccountName": "contosoadla",
"version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"databaseName": "master",
"schemaName": "dbo",
"partitionName": "test_partition_name",
"parentName": "test_parent_name",
"indexId": 1,
"label": [
"test_label_1",
"test_label_2"
],
"createDate": "2017-04-14T13:21:56.6819037-07:00"
}
定義
名稱 | Description |
---|---|
Ddl |
Data Lake Analytics DDL 名稱專案。 |
USql |
Data Lake Analytics 目錄 U-SQL 資料表分割專案。 |
DdlName
Data Lake Analytics DDL 名稱專案。
名稱 | 類型 | Description |
---|---|---|
firstPart |
string |
與此資料庫和架構相關聯的數據表名稱。 |
secondPart |
string |
與此資料庫和架構相關聯的數據表名稱。 |
server |
string |
與此資料庫和架構相關聯的數據表名稱。 |
thirdPart |
string |
與此資料庫和架構相關聯的數據表名稱。 |
USqlTablePartition
Data Lake Analytics 目錄 U-SQL 資料表分割專案。
名稱 | 類型 | Description |
---|---|---|
computeAccountName |
string |
Data Lake Analytics 帳戶的名稱。 |
createDate |
string |
分割區的建立時間 |
databaseName |
string |
資料庫的名稱。 |
indexId |
integer |
此數據分割的索引識別碼。 |
label |
string[] |
與此分割區相關聯的標籤清單。 |
parentName |
數據分割父系的 Ddl 物件。 |
|
partitionName |
string |
數據表分割區的名稱。 |
schemaName |
string |
與此數據表分割和資料庫相關聯的架構名稱。 |
version |
string |
目錄專案的版本。 |