Load
Load
yaml
type: "io.kestra.plugin.gcp.bigquery.Load"Examples
yaml
id: gcp_bq_load
namespace: company.team
tasks:
- id: load
type: io.kestra.plugin.gcp.bigquery.Load
from: "{{ inputs.file }}"
destinationTable: "my_project.my_dataset.my_table"
format: CSV
csvOptions:
fieldDelimiter: ";"
Properties
autodetect booleanstring
avroOptions Non-dynamic
Definitions
io.kestra.plugin.gcp.bigquery.AbstractLoad-AvroOptions
useAvroLogicalTypesbooleanstring
clusteringFields array
SubTypestring
createDisposition string
Possible Values
CREATE_IF_NEEDEDCREATE_NEVERcsvOptions Non-dynamic
Definitions
io.kestra.plugin.gcp.bigquery.AbstractLoad-CsvOptions
allowJaggedRowsbooleanstring
allowQuotedNewLinesbooleanstring
encodingstring
fieldDelimiterstring
quotestring
skipLeadingRowsintegerstring
destinationTable string
failedOnEmpty booleanstring
Default
trueformat Non-dynamicstring
Possible Values
CSVJSONAVROPARQUETORCfrom string
ignoreUnknownValues booleanstring
impersonatedServiceAccount string
location string
maxBadRecords integerstring
projectId string
retryAuto Non-dynamic
Definitions
io.kestra.core.models.tasks.retrys.Constant
interval*Requiredstring
Format
durationtype*Requiredobject
behaviorstring
Default
RETRY_FAILED_TASKPossible Values
RETRY_FAILED_TASKCREATE_NEW_EXECUTIONmaxAttemptsinteger
Minimum
>= 1maxDurationstring
Format
durationwarningOnRetryboolean
Default
falseio.kestra.core.models.tasks.retrys.Exponential
interval*Requiredstring
Format
durationmaxInterval*Requiredstring
Format
durationtype*Requiredobject
behaviorstring
Default
RETRY_FAILED_TASKPossible Values
RETRY_FAILED_TASKCREATE_NEW_EXECUTIONdelayFactornumber
maxAttemptsinteger
Minimum
>= 1maxDurationstring
Format
durationwarningOnRetryboolean
Default
falseio.kestra.core.models.tasks.retrys.Random
maxInterval*Requiredstring
Format
durationminInterval*Requiredstring
Format
durationtype*Requiredobject
behaviorstring
Default
RETRY_FAILED_TASKPossible Values
RETRY_FAILED_TASKCREATE_NEW_EXECUTIONmaxAttemptsinteger
Minimum
>= 1maxDurationstring
Format
durationwarningOnRetryboolean
Default
falseretryMessages array
SubTypestring
Default
["due to concurrent update","Retrying the job may solve the problem","Retrying may solve the problem"]retryReasons array
SubTypestring
Default
["rateLimitExceeded","jobBackendError","backendError","internalError","jobInternalError"]schema object
schemaUpdateOptions array
SubTypestring
Possible Values
ALLOW_FIELD_ADDITIONALLOW_FIELD_RELAXATIONscopes array
SubTypestring
Default
["https://www.googleapis.com/auth/cloud-platform"]serviceAccount string
timePartitioningField string
timePartitioningType string
Default
DAYPossible Values
DAYHOURMONTHYEARwriteDisposition string
Possible Values
WRITE_TRUNCATEWRITE_TRUNCATE_DATAWRITE_APPENDWRITE_EMPTYOutputs
destinationTable string
jobId string
rows integer
Metrics
bad.records counter
Unit
recordsduration timer
input.bytes counter
Unit
bytesinput.files counter
Unit
filesoutput.bytes counter
Unit
bytesoutput.rows counter
Unit
records