Skip to content

BigQuery

Stream data into Google BigQuery.

Data Warehouse Licensed editions json

output:
big-query:
connection:
project: ~
JSON
{
"output": {
"big-query": {
"connection": {
"project": null
}
}
}
}

A ✓ marks a field that accepts a context variable such as {{ VARIABLE }}.

Authentication
Field Type Required Description
credentials Credentials Authentication credentials.
Allowed values: service-account, service-account-file, workload-identity, application-default
Connection
Field Type Required Description
connection Connection ✅ Connection details (project, dataset, table).
Load Job
Field Type Required Description
load-job Load Job Legacy Load Job configuration (deprecated). Note: this mode is not supported in 2.0.1; use mode: streaming.
Operation
Field Type Required Description
mode Mode Output mode (streaming or legacy load-job).
Default: streaming
Allowed values: streaming, load-job
Parameters
Field Type Required Description
parameters Parameters[] Reserved for GA follow-on work; not supported in 2.0.1.
Processing
Field Type Required Description
batch Batch Batching configuration (size/timeout).
Reliability
Field Type Required Description
retry Retry Retry configuration for transient failures.
Schema
Field Type Required Description
schema Schema Reserved for GA follow-on work; not supported in 2.0.1.
Streaming
Field Type Required Description
streaming Streaming Configuration for the current streaming insert path (tabledata.insertAll).
Option Name Type Description
service-account Service Account object
service-account-file Service Account File object
workload-identity Workload Identity object
application-default Application Default map Supported in 2.0.1 via Application Default Credentials discovery.

Field Type Required Description
secret-id ✓ string ✅

Field Type Required Description
path string ✅ Not supported in 2.0.1. Use service-account or application-default.

Field Type Required Description
audience ✓ string ✅ Not supported in 2.0.1. Follow-on work needs a full external-account source definition.
service-account-email ✓ string Not supported in 2.0.1. Follow-on work needs a full external-account source definition.

Field Type Required Description
service-account ✓ string ✅
delegates ✓ string[]
Field Type Required Description
project ✓ string ✅
dataset ✓ string
table ✓ string
billing-project ✓ string
location ✓ string
impersonation Impersonation Impersonate a service account (requires IAM Credentials API).
Field Type Required Description
staging-uri ✓ string ✅ GCS URI for staging files (gs://bucket/path).
write-disposition Write Disposition Default: WRITE_APPEND
Allowed values: WRITE_APPEND, WRITE_TRUNCATE, WRITE_EMPTY
create-disposition Create Disposition Default: CREATE_IF_NEEDED
Allowed values: CREATE_IF_NEEDED, CREATE_NEVER
Field Type Required Description
name string ✅
value ✓ string
type string
Field Type Required Description
fixed-size ✓ number (integer) maximum number of events in an output batch.
Examples: 42, 1.2e-10
max-bytes ✓ number (integer) Close the batch before adding an event that would make the serialized request payload exceed this many bytes.
Examples: 42, 1.2e-10
mode Mode ✅ If ‘document’ send on end of document generated by input. If ‘fixed’, use fixed_size.
Allowed values: fixed, document
timeout time-interval (string) ✅ interval after which the batch is sent, to keep throughput going (default 100ms).
Default: 100ms
Examples: 500ms, 2h
header multiline-text (string) put a header line before the batch.
footer multiline-text (string) put a header line after the last line of the batch.
use-document-marker ✓ boolean (bool) Enrich the job metadata with a document marker (for document handling in batch mode).
Default: false
wrap-as-json ✓ boolean (bool) Format the output batch as a JSON array.
Default: false
Field Type Required Description
count number (integer) The number of retry attempts. If unspecified, retries will continue indefinitely.
Examples: 42, 1.2e-10
pause duration (string) How long to pause before re-trying.
Accepts human-friendly formats, like 1m (for 1 minute) and 4h (for 4 hours)

Field Type Required Description
field-path string ✅
target-type string
Field Type Required Description
auto-fetch ✓ boolean (bool) Reserved for GA follow-on work; BigQuery schema settings are not supported in 2.0.1.
Default: true
overrides Overrides[] Reserved for GA follow-on work; BigQuery schema settings are not supported in 2.0.1.
Field Type Required Description
stream-type Stream Type Only default is supported in 2.0.1. Storage Write stream types are GA follow-on work.
Default: default
Allowed values: default, committed, pending, buffered
insert-id-field string Field to use for deduplication (insertId).

Value Aliases Name Description
WRITE_APPEND WRITE_APPEND
WRITE_TRUNCATE WRITE_TRUNCATE
WRITE_EMPTY WRITE_EMPTY

Value Aliases Name Description
CREATE_IF_NEEDED CREATE_IF_NEEDED
CREATE_NEVER CREATE_NEVER
Value Aliases Name Description
streaming streaming
load-job load-job

Value Aliases Name Description
fixed fixed
document document

Value Aliases Name Description
default default
committed committed
pending pending
buffered buffered