BLOCKS Reference

BigQuery

Load to table from variable

Overview

This BLOCK loads data from a variable into a BigQuery table.

Properties

Property Explanation
BLOCK name Configure the name displayed on this BLOCK.
GCP service account Select the GCP service account to use with this BLOCK.
Source variable Designate the variable containing the data that will be sent to a BigQuery table.
Destination dataset

Designate the ID of the BigQuery dataset that contains the table that will receive the data.

Supports % format characters and variable expansion.

Destination table

Designate the ID of the BigQuery table that will receive the data.

Supports % format characters and variable expansion.

Schema settings

Designate schema for the destination table.

You can set your schema directly in JSON by clicking Edit as JSON.

In cases of non-empty tables

Select which action to perform when the destination table already contains data.

  • Append: Appends new data to the table.
  • Overwrite: Overwrites the table with the new data.
  • Error: An error occurs if the table is not empty.
BLOCK memos Make notes about this BLOCK.
Reattempts in case of errors Configure the number of attempts to try in case of a BigQuery error or time out.
Minimum timeout interval Set the number of seconds to wait for results. If results are not returned during this interval, the time will be doubled for each reattempt until the time set in the Maximum timeout interval property is reached.
Maximum timeout interval Indicate the maximum number of seconds to wait for results. The timeout interval will start with the value set in the Minimum timeout interval property and double with each reattempt until reaching the value set here.
File format

Choose a file format from those in GCS from the following:

  • CSV
  • NEWLINE_DELIMITED_JSON
  • DATASTORE_BACKUP
CSV delimiter character

Select the delimiter character used for CSV files.

  • Comma
  • Tab
  • Pipe
  • Other

If you choose Other, specify a delimiter character in the accompanying field.

Number of skipped rows Configure the number of lead rows to skip for CSV files.
Permit rows with insufficient fields Select whether or not to permit rows with insufficient fields for CSV files.
Designate quotation marks Designate the character used for quotation marks for CSV files.
Allow line breaks within quoted fields Select whether or not allow quoted fields to contain line breaks in CSV files.
Max number of bad rows Configure how many bad rows to allow before resulting in an error.
Ignore extra fields Select whether or not to ignore extra fields.