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.SourceFormat¶
- class google.cloud.bigquery.job.SourceFormat[source]¶
The format of the data files. The default value is
CSV
.Note that the set of allowed values for loading data is different than the set used for external data sources (see
ExternalSourceFormat
).- __init__()¶
Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
()Initialize self.
Attributes
Specifies Avro format.
Specifies CSV format.
Specifies datastore backup format
Specifies newline delimited JSON format.
Specifies Orc format.
Specifies Parquet format.
- AVRO = 'AVRO'¶
Specifies Avro format.
- CSV = 'CSV'¶
Specifies CSV format.
- DATASTORE_BACKUP = 'DATASTORE_BACKUP'¶
Specifies datastore backup format
- NEWLINE_DELIMITED_JSON = 'NEWLINE_DELIMITED_JSON'¶
Specifies newline delimited JSON format.
- ORC = 'ORC'¶
Specifies Orc format.
- PARQUET = 'PARQUET'¶
Specifies Parquet format.