quentin_gaborit
07/24/2023, 12:37 PMgoogle.api_core.exceptions.BadRequest: 400 PATCH <https://bigquery.googleapis.com/bigquery/v2/projects/project_id/datasets/salesforce/tables/opportunity?prettyPrint=false>: Field id already exists in schema
when running target-bigquery
? I've been looking but I really can't explain that error. Here's my plugin configuration:
loaders:
- name: target-bigquery
variant: z3z1ma
config:
project: project-id
dataset: salesforce
location: us-west1
method: batch_job
batch_size: 500
fail_fast: True
overwrite: True
flattening_enabled: True
denormalized: True
column_name_transforms:
lower: True
quote: False
add_underscore_when_invalid: True
snake_case: True
This issue only arises when attempting to use denormalized
. The table is properly created in Big Query, but the data won't be loaded into it. This would constraint to leave the data as JSON in a single column, or parse it with an additional layer of python/DBT normalisation modelsquentin_gaborit
07/24/2023, 1:10 PMid
in the flattened stream data, only one. Not sure how bigquery could find a duplicate. But if that was the case, how to handle it via streams maps?shubham
07/25/2023, 5:42 AMquentin_gaborit
07/25/2023, 6:38 AMshubham
07/26/2023, 12:07 PMquentin_gaborit
07/26/2023, 12:41 PMyoucruit
, which does work but offers neither the 4 write options, neither the snake case transformations.
Additionally I think the performances are not as good but that remains to be tested.quentin_gaborit
07/26/2023, 12:44 PM