- Is this your first time deploying Airbyte?: Yes
- OS Version / Instance: MacOS Monterey 12.5
- Memory / Disk: 16Gb / 2 Tb
- Deployment: Docker
- Airbyte Version: 0.39.42-alpha
- Source name/version: Square (0.1.4)
- Destination name/version: MySQL (0.1.20)
- Step: During sync, Normalization phase from what I can tell
- Description: I am new, first sync attempt. I finally got the MySQL destination set up and connected to the Square source. It is dying during Normalization, it looks like it is generating SQL code invalid for MySQL… ?
2022-08-09 05:21:45 e[42mnormalizatione[0m > Found 392 models, 0 tests, 0 snapshots, 0 analyses, 563 macros, 0 operations, 0 seed files, 7 sources, 0 exposures, 0 metrics
2022-08-09 05:21:46 e[42mnormalizatione[0m > Concurrency: 1 threads (target='prod')
2022-08-09 05:21:46 e[42mnormalizatione[0m > 1 of 98 START table model airbyte.categories............................................................................ [RUN]
2022-08-09 05:21:46 e[42mnormalizatione[0m > 1 of 98 ERROR creating table model airbyte.categories................................................................... [e[31mERRORe[0m in 0.05s]
2022-08-09 05:21:46 e[42mnormalizatione[0m > 2 of 98 START table model airbyte.customers............................................................................. [RUN]
2022-08-09 05:21:46 e[42mnormalizatione[0m > 2 of 98 ERROR creating table model airbyte.customers.................................................................... [e[31mERRORe[0m in 0.04s]
2022-08-09 05:21:46 e[42mnormalizatione[0m > 3 of 98 START table model airbyte.items................................................................................. [RUN]
2022-08-09 05:21:46 e[42mnormalizatione[0m > 3 of 98 ERROR creating table model airbyte.items........................................................................ [e[31mERRORe[0m in 0.02s]
2022-08-09 05:21:46 e[42mnormalizatione[0m > 4 of 98 START table model airbyte.locations............................................................................. [RUN]
2022-08-09 05:21:46 e[42mnormalizatione[0m > 4 of 98 ERROR creating table model airbyte.locations.................................................................... [e[31mERRORe[0m in 0.03s]
2022-08-09 05:21:46 e[42mnormalizatione[0m > 5 of 98 START table model airbyte.orders................................................................................ [RUN]
2022-08-09 05:21:46 e[42mnormalizatione[0m > 5 of 98 ERROR creating table model airbyte.orders....................................................................... [e[31mERRORe[0m in 0.04s]
2022-08-09 05:21:46 e[42mnormalizatione[0m > 6 of 98 START table model airbyte.payments.............................................................................. [RUN]
2022-08-09 05:21:46 e[42mnormalizatione[0m > 6 of 98 ERROR creating table model airbyte.payments..................................................................... [e[31mERRORe[0m in 0.05s]
2022-08-09 05:21:46 e[42mnormalizatione[0m > 7 of 98 START table model airbyte.refunds............................................................................... [RUN]
2022-08-09 05:21:47 e[42mnormalizatione[0m > 7 of 98 ERROR creating table model airbyte.refunds...................................................................... [e[31mERRORe[0m in 0.04s]
2022-08-09 05:21:47 e[42mnormalizatione[0m > 8 of 98 SKIP relation airbyte.categories_category_data.................................................................. [e[33mSKIPe[0m]
Then there are a set of these kinds of errors:
2022-08-09 05:21:47 e[42mnormalizatione[0m > Finished running 98 table models in 1.77s.
2022-08-09 05:21:47 e[42mnormalizatione[0m > e[31mCompleted with 7 errors and 0 warnings:e[0m
2022-08-09 05:21:47 e[42mnormalizatione[0m > e[33mDatabase Error in model categories (models/generated/airbyte_tables/airbyte/categories.sql)e[0m
2022-08-09 05:21:47 e[42mnormalizatione[0m > 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,
2022-08-09 05:21:47 e[42mnormalizatione[0m > json_value(_airbyte_data,
2022-08-09 05:21:47 e[42mnormalizatione[0m > '$."type"' RETURNIN...' at line 14
2022-08-09 05:21:47 e[42mnormalizatione[0m > compiled SQL at ../build/run/airbyte_utils/models/generated/airbyte_tables/airbyte/categories.sql
2022-08-09 05:21:47 e[42mnormalizatione[0m > e[33mDatabase Error in model customers (models/generated/airbyte_tables/airbyte/customers.sql)e[0m
2022-08-09 05:21:47 e[42mnormalizatione[0m > 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,
2022-08-09 05:21:47 e[42mnormalizatione[0m > json_extract(_airbyte_data,
2022-08-09 05:21:47 e[42mnormalizatione[0m > '$."cards"') as c...' at line 14
There are further errors, but I think they may be the result of the previous failures… ?
Anyway, this may be a configuration error, but I didn’t really change anything beyond setting up the source and destination. Maybe I needed to?