google.cloud.bigquery.job.CreateDisposition#
Methods
Attributes
If the table does not exist, BigQuery creates the table. |
|
The table must already exist. |
-
class
google.cloud.bigquery.job.
CreateDisposition
[source]# Bases:
object
Specifies whether the job is allowed to create new tables. The default value is
CREATE_IF_NEEDED
.Creation, truncation and append actions occur as one atomic update upon job completion.
-
CREATE_IF_NEEDED
= 'CREATE_IF_NEEDED'# If the table does not exist, BigQuery creates the table.
-
CREATE_NEVER
= 'CREATE_NEVER'# The table must already exist. If it does not, a ‘notFound’ error is returned in the job result.
-