Hello team, I have a error while ingesting data fr...
# replication-troubleshooting
v
Hello team, I have a error while ingesting data from Mysql(1.0.18) to Bigquery(1.2.9) While automapping occurs json format is typecasted to string I have been asking this for a while and i’m tired of asking this and explaining about my versions other than that no updates i’m getting from your side I need to fix this issue soon please do check this My airbyte version is 0.40.28 and i hope upgrading my airbyte version alone won’t fix this issue
r
mapping to BigQuery JSON data tyoe, might resolve the issue https://cloud.google.com/bigquery/docs/reference/standard-sql/json-data
v
yeah, my question is where can i do that In the airbyte UI part I can’t change the schema of destination table its auto mapping If change that in bigquery the airbyte is changing that back to string format during the next sync
I think even through CLI we can’t change the destination schema @Rajesh Koilpillai
м
Hi, As far as I know, there is no option to configure default normalization to select the proper data type in AirByte UI, so you have few options: use another specific tool or build transformation on your own. 1. You can move and transform data using Datuum.ai: setup postgres as source connection, bigquery as target connection and do the mapping. Datuum.ai detects and casts data types from string to int/double/boolean/etc automatically. Also you can change data types manually if needed. Then, Datuum generates a complete Airbyte pipeline for you 2. You may build a pipeline manually in AirByte transformations. I guess you still need basic airbyte normalization, but you can add your own transformation (https://docs.airbyte.com/operator-guides/transformation-and-normalization/transformations-with-sql) and do manual casts to required data type (make it safe to handle errors): https://cloud.google.com/bigquery/docs/reference/standard-sql/functions-reference. Although it may take time to set up a dbt project, create models and configure the pipeline, if you are not experienced with it yet. Hope it helps!