I have a column of datatype bigint(20) in the MySQL database. And this is mapped as numeric(18,0) datatype in Redshift.
And this is causing overflow error. We might need to map it to bigint datatype to solve this issue.
Similar issue is discussed here :
https://github.com/datamill-co/target-redshift/issues/39
https://github.com/transferwise/pipelinewise-target-redshift/blob/80796b6c6e4647a85ddc9492e343547a027258e4/target_redshift/db_sync.py#L72
I have a column of datatype
bigint(20)
in the MySQL database. And this is mapped as numeric(18,0) datatype in Redshift. And this is causing overflow error. We might need to map it tobigint
datatype to solve this issue. Similar issue is discussed here : https://github.com/datamill-co/target-redshift/issues/39