StreamMetastorePartitionsRequest(
mapping=None, *, ignore_unknown_fields=False, **kwargs
)The top-level message sent by the client to the [Partitions.StreamMetastorePartitions][] method. Follows the default gRPC streaming maximum size of 4 MB.
Attributes |
|
|---|---|
| Name | Description |
parent |
str
Required. Reference to the table to where the partition to be added, in the format of projects/{project}/locations/{location}/datasets/{dataset}/tables/{table}. |
metastore_partitions |
MutableSequence[google.cloud.bigquery_storage_v1alpha.types.MetastorePartition]
Optional. A list of metastore partitions to be added to the table. |
skip_existing_partitions |
bool
Optional. Mimics the ifNotExists flag in IMetaStoreClient add_partitions(..). If the flag is set to false, the server will return ALREADY_EXISTS on commit if any partition already exists. If the flag is set to true: 1) the server will skip existing partitions insert only the non-existing partitions as part of the commit. 2) The client must set the skip_existing_partitions
field to true for all requests in the stream.
|