Hi to all,
I’m new on Airbyte and i want to transform some datas from files to mysql db.
My source is ok, the destination too, but when i want to connect i’ve some issues with the dbt process
2023-01-06 14:22:07 INFO i.a.c.i.LineGobbler(voidCall):114 - ----- END DEFAULT NORMALIZATION -----
2023-01-06 14:22:07 INFO i.a.c.i.LineGobbler(voidCall):114 -
2023-01-06 14:22:07 INFO i.a.p.j.e.LoggingJobErrorReportingClient(reportJobFailureReason):23 - Report Job Error -> workspaceId: cf82ff69-949e-4652-ac82-62654a4bbb2e, dockerImage: airbyte/normalization-mysql:0.2.25, failureReason: io.airbyte.config.FailureReason@2ad25b8[failureOrigin=normalization,failureType=system_error,internalMessage=1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'RETURNING CHAR) as id,,externalMessage=Normalization failed during the dbt run. This may indicate a problem with the data itself.,metadata=io.airbyte.config.Metadata@1004b4b8[additionalProperties={attemptNumber=2, jobId=1, from_trace_message=true}],stacktrace=AirbyteDbtError:
1 of 1 ERROR creating table model airbyte.catalog................................................................ [ERROR in 0.10s]
Database Error in model catalog (models/generated/airbyte_tables/airbyte/catalog.sql)
1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'RETURNING CHAR) as id,
json_value(_airbyte_data,
'$."SKU"' RETURNING...' at line 14
compiled SQL at ../build/run/airbyte_utils/models/generated/airbyte_tables/airbyte/catalog.sql
1 of 1 ERROR creating table model airbyte.catalog................................................................ [ERROR in 0.10s]
Database Error in model catalog (models/generated/airbyte_tables/airbyte/catalog.sql)
1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'RETURNING CHAR) as id,
json_value(_airbyte_data,
'$."SKU"' RETURNING...' at line 14
compiled SQL at ../build/run/airbyte_utils/models/generated/airbyte_tables/airbyte/catalog.sql,retryable=<null>,timestamp=1673014927756], metadata: {connector_repository=airbyte/destination-mysql, normalization_repository=airbyte/normalization-mysql, workspace_url=http://localhost:8000/workspaces/cf82ff69-949e-4652-ac82-62654a4bbb2e, failure_type=system_error, connector_name=MySQL, workspace_id=cf82ff69-949e-4652-ac82-62654a4bbb2e, airbyte_version=0.40.26, source_connector_name=File, connection_url=http://localhost:8000/workspaces/cf82ff69-949e-4652-ac82-62654a4bbb2e/connections/f1cefb85-ee05-4f01-96dc-04bd80ab5e56, connector_definition_id=ca81ee7c-3163-4246-af40-094cc31e5e42, failure_origin=normalization, connection_id=f1cefb85-ee05-4f01-96dc-04bd80ab5e56, connector_release_stage=alpha, job_id=1, source_connector_release_stage=generally_available, source_connector_definition_id=778daa7c-feaf-4db6-96f3-70fd645acc77, source_connector_repository=airbyte/source-file, deployment_mode=OSS}
2023-01-06 14:22:07 INFO i.a.c.f.EnvVariableFeatureFlags(autoDisablesFailingConnections):23 - Auto Disable Failing Connections: false
I don’t understand the issue, somebody has a solution ?
Thanks!