As of January 1, 2020 this library no longer supports Python 2 on the latest released version.
Library versions released prior to that date will continue to be available. For more information please
visit Python 2 support on Google Cloud.
google.cloud.bigquery.job.CreateDisposition¶
-
class
google.cloud.bigquery.job.
CreateDisposition
[source]¶ 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.
-
__init__
()¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
()Initialize self.
Attributes
If the table does not exist, BigQuery creates the table.
The table must already exist.
-
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.
-