Google BigQuery Writer Parameters

Service Connection

Credential Source

For Google Cloud authentication information, see Getting Started with Authentication.

  • Web Connection: Uses Google Cloud BigQuery API via OAuth 2.0 to authenticate and make requests.
  • Service Account: Uses the Google service account file specified in the system’s path. See Authenticating With a Service Account Key File.

About Web Connections

Connections store authentication information.

For general information about web connections, please see Using Web Connections.

For information about managing web services (including authorization credentials such as Client Id and Client Secret), please see Managing Web Services.

Connection

From the Connection parameter in a web service format, you can do one of the following:

  • Select an existing previously defined connection. For information, see the section Reusing a Web Connection in Using Web Connections.
  • Select Add Web Connection to define a new connection. The new connection can be made visible only to the current user, or can be shared among multiple users.

Account

Select web connection account for authentication.

Project

Select the Google BigQuery project.

Write Options

Table Handling

  • Write if Empty (default) – Load features to table only if the table is empty, or does not exist.
  • Append – Load features on a pre-existing table.
  • Overwrite – Overwrite the entire table with only the new features. All pre-existing data will be overwritten.

Dataset

The dataset to load features into. This dataset must exist before writing to it.

Number of errors allowed

The number of features allowed to produce errors and be ignored. These features will be skipped and not loaded onto Google BigQuery.

Value: Must be greater than 0.

Table Splitting

The number of features to write at a time to BigQuery.

The default is 0, in which features are written at the end of translation.

Spatial

Spatial Type

  • None – Google BigQuery will infer and assign data types to columns based on the incoming data
  • Geography – A spatial column will be generated from the geometries attached to the loaded features and interpreted in WKT. The column will data type will be set to GEOGRAPHY on Google BigQuery.

Spatial Column Name

When Spatial Type is set to Geography, specify the name of the column that will hold GEOGRAPHY type data.