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

Streams list of partitions from a table.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Reference to the table to which these partitions belong, in the format of projects/{project}/catalogs/{catalogs}/databases/{database}/tables/{table}.

Query parameters

Parameters
filter

string

Optional. SQL text filtering statement, similar to a WHERE clause in a query. Only supports single-row expressions. Aggregate functions are not supported.

Examples: * "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"

Restricted to a maximum length of 1 MB.

Request body

The request body must be empty.

Response body

Response message for partitions.list.

If successful, the response body contains data with the following structure:

JSON representation
{
  "partitions": [
    {
      object (Partition)
    }
  ]
}
Fields
partitions[]

object (Partition)

Output only. List of partitions.

Authorization scopes

Requires one of the following OAuth scopes:

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

For more information, see the Authentication Overview.