- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- UpdatePartitionRequest
- Try it!
Updates partitions in a table.
HTTP request
POST https://biglake.googleapis.com/hive/v1alpha/{parent=projects/*/catalogs/*/databases/*/tables/*}/partitions:batchUpdate
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. Reference to the table to which these partitions belong, in the format of projects/{project}/catalogs/{catalogs}/databases/{database}/tables/{table}. |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{
"requests": [
{
object ( |
| Fields | |
|---|---|
requests[] |
Required. Requests to update partitions in the table. |
Response body
Response message for partitions.batchUpdate.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"partitions": [
{
object ( |
| Fields | |
|---|---|
partitions[] |
The list of partitions that have been updated. A maximum of 900 partitions can be updated in a batch. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/bigqueryhttps://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
UpdatePartitionRequest
Request message for UpdatePartition.
| JSON representation |
|---|
{
"partition": {
object ( |
| Fields | |
|---|---|
partition |
Required. The partition to be updated. |
updateMask |
Optional. The list of fields to update. This is a comma-separated list of fully qualified names of fields. Example: |