google.cloud.bigquery.job.SourceFormat#

Attributes

AVRO Specifies Avro format.
CSV Specifies CSV format.
DATASTORE_BACKUP Specifies datastore backup format
NEWLINE_DELIMITED_JSON Specifies newline delimited JSON format.
ORC Specifies Orc format.
PARQUET Specifies Parquet format.


class google.cloud.bigquery.job.SourceFormat[source]#

Bases: object

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).

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.