Google BigQuery Output Tool
Use the Google BigQuery Output tool to write data from Designer to the tables in Google BigQuery. See Google BigQuery for information about known limitations.
Alteryx Analytics Gallery
This tool is not automatically installed with
Configure the Tool
Log in to Google BigQuery - Authentication Mode
You can log in to Google BigQuery with Service-to-Service or End user credentials.
Use Service-to-Service authentication over End user authentication whenever possible. Managing distinct keys for various applications authenticating for the same service account allows the revocation of access for a specific application without requiring the other applications to update their authentication credentials.
Contact your Google Cloud Administrator for help with your Google BigQuery credentials.
Service-to-Service authentication requires a Google Service Account File, also known as a service account JSON key file.
You can obtain a service account JSON key file from the Google Cloud Console, or you can create a new key for an existing service account. More information about Google BigQuery can be found on the Google Big Query Documentation site in Creating and Managing Service Account Keys.
- Under the Authentication drop-down, select Service-to-Service.
- Click the Select a file button to select your Google service account file.
- In the Open File pop-up window, select the JSON file that contains your Google service account key. Selecting the file enters your Google Cloud Service account key ID and Service account email.
- Click the Select table button to display the BigQuery Table Output Configuration window, followed by selecting a BigQuery table. Select your project's drop-down menu.
If your key file is invalid, an error will display with the tool on your canvas, preventing you from running your workflow.
- Select your table under the project's drop-down menu. In Select table output mode, options include...
- Append Existing - Append to an existing table.
- Overwrite Table (Drop) - Drop the existing table, and create a new table with the same
nameAppendto another existing table. When selecting a table, your existing table will be dropped then overwritten.
- In Insert batch size, select the size of your data that you want to batch. This number specifies the number of rows that will be written to the Google BigQuery table at each call to insert API.
Google sets limits on the number of API requests per second, the number of rows that may be inserted per second and per request, the size of the rows to be inserted, and the size of HTTP requests.
End User Authentication
- In Authentication mode, select End user.
- Enter your Client ID and Client Secret.
- Select Log in.
- In Sign in with Google, enter your Google email and password then click Allow to approve the connector's permission to access Google BigQuery on your behalf.
- Enter your email address again for your Alteryx sign in, followed by selecting Next.
- Enter your password and select Sign in.
- Select the Advanced option, then select the Alteryx link.
- Select Next.
Starting in Google BigQuery Output version 3.0.0, the Batch load API is used to push JSON files into BigQuery from Alteryx, see the Google BigQuery documentation for more information.
Note that loading time may vary depending on BigQuery’s usage at the time. A workflow writing output to BigQuery will finish once the data is indexed in the table, not once the JSON files are pushed to BigQuery. See the Google BigQuery documentation for any errors received.