Copy a BigQuery table or partition to other one.
type: "io.kestra.plugin.gcp.bigquery.Copy"
id: gcp_bq_copy
namespace: company.team
tasks:
- id: copy
type: io.kestra.plugin.gcp.bigquery.Copy
operationType: COPY
sourceTables:
- "my_project.my_dataset.my_table$20130908"
destinationTable: "my_project.my_dataset.my_table"
The destination table.
If not provided a new table is created.
The source tables.
Can be table or partitions.
Whether the job is allowed to create tables.
The GCP service account to impersonate.
Job timeout.
If this time limit is exceeded, BigQuery may attempt to terminate the job.
The labels associated with this job.
You can use these to organize and group your jobs. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter and each label in the list must have a different key.
The geographic location where the dataset should reside.
This property is experimental and might be subject to change or removed.
See Dataset Location
Sets the supported operation types in table copy job.
COPY
: The source and destination table have the same table type.SNAPSHOT
: The source table type is TABLE and the destination table type is SNAPSHOT.RESTORE
: The source table type is SNAPSHOT and the destination table type is TABLE.CLONE
: The source and destination table have the same table type, but only bill for unique data.
The GCP project ID.
The messages which would trigger an automatic retry.
Message is tested as a substring of the full message, and is case insensitive.
The reasons which would trigger an automatic retry.
The GCP scopes to be used.
The GCP service account.
The action that should occur if the destination table already exists.
The job id