Module external_config (3.23.1)

Define classes that describe external data sources.

These are used for both Table.externalDataConfiguration and Job.configuration.query.tableDefinitions.

Classes

BigtableColumn

BigtableColumn()

Options for a Bigtable column.

BigtableColumnFamily

BigtableColumnFamily()

Options for a Bigtable column family.

BigtableOptions

BigtableOptions()

Options that describe how to treat Bigtable tables as BigQuery tables.

CSVOptions

CSVOptions()

Options that describe how to treat CSV files as BigQuery tables.

ExternalConfig

ExternalConfig(source_format)

Description of an external data source.

Parameter
Name Description
source_format ExternalSourceFormat

See source_format.

ExternalSourceFormat

ExternalSourceFormat()

The format for external data files.

Note that the set of allowed values for external data sources is different than the set used for loading data (see SourceFormat).

GoogleSheetsOptions

GoogleSheetsOptions()

Options that describe how to treat Google Sheets as BigQuery tables.

HivePartitioningOptions

HivePartitioningOptions()

[Beta] Options that configure hive partitioning.

See https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#HivePartitioningOptions