Riya Tyagi
07/19/2021, 10:31 AMSubodh (Airbyte)
Riya Tyagi
07/19/2021, 10:54 AMSubodh (Airbyte)
Subodh (Airbyte)
Riya Tyagi
07/19/2021, 12:59 PMRiya Tyagi
07/19/2021, 1:01 PMChris (deprecated profile)
400-700 columns and there are a lots of limits that mysql places on the exact column count allowed for a tableIn the following test, it seems MySQL was able to go up to 250 columns only before reaching error limits: https://github.com/airbytehq/airbyte/blob/219389b2d175c2444296031951b6f519fd84156d[…]ns/bases/base-normalization/integration_tests/test_ephemeral.py
Liren Tu
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 'with __dbt__CTE__riya_sftp_700_ab1 as (
you are probably using a MariaDB server that does not support the WITH
keyword.
https://mariadb.com/kb/en/with/
Our MySQL normalization only works for servers that supports WITH
(MySQL >= 8.0, MariaDB >= 10.2.1), since it is heavily used in the normalization process.
https://docs.airbyte.io/understanding-airbyte/basic-normalization#destinations-that-support-basic-normalization
I will update our documentation to clarify the version requirement for MariaDB.
2. It is also highly possible that even if you use a DB server that supports WITH
, with 700 fields that are mostly strings, it will throw another exception complaining about the row size.
I agree with Subodh that running the sync without normalization is the best solution. You can write your own dbt normalization and maybe split the results into multiple tables.Riya Tyagi
07/20/2021, 6:17 AMJay Patel
07/20/2021, 6:18 AMJay Patel
07/20/2021, 6:23 AMJay Patel
07/20/2021, 2:29 PMLiren Tu
Jay Patel
07/21/2021, 5:58 AMRiya Tyagi
07/23/2021, 9:32 AM[DEPRECATED] Marcos Marx