Method: hive.v1beta.projects.catalogs.databases.tables.partitions.list

從資料表串流處理分區清單。

HTTP 要求

GET https://biglake.googleapis.com/hive/v1beta/{parent=projects/*/catalogs/*/databases/*/tables/*}/partitions:list

這個網址使用 gRPC 轉碼語法。

路徑參數

參數
parent

string

這是必要旗標,這些分區所屬資料表的參照,格式為 projects/{project}/catalogs/{catalogs}/databases/{database}/tables/{table}。

查詢參數

參數
filter

string

選用。SQL 文字篩選陳述式,類似於查詢中的 WHERE 子句。僅支援單列運算式。不支援匯總函式。

範例:* "int_field > 5" * "date_field = CAST('2014-9-27' as DATE)" * "nullable_field is not NULL" * "st_equals(geo_field, st_geofromtext("POINT(2, 2)"))" * "numeric_field BETWEEN 1.0 AND 5.0"

長度上限為 1 MB。

要求主體

要求主體必須為空白。

回應主體

partitions.list 的回應訊息。

如果成功,回應主體會含有以下結構的資料:

JSON 表示法
{
  "partitions": [
    {
      object (Partition)
    }
  ]
}
欄位
partitions[]

object (Partition)

僅供輸出。分割區清單。

授權範圍

需要下列其中一種 OAuth 範圍:

  • https://www.googleapis.com/auth/bigquery
  • https://www.googleapis.com/auth/cloud-platform

詳情請參閱Authentication Overview