giles_horwitch-smith
04/14/2021, 10:22 PMtime=2021-04-14 23:13:06 name=target_postgres level=CRITICAL message=Primary key is set to mandatory but not defined in the when trying to load.
I guess I need to specify the primary key somehow?taylor
04/15/2021, 2:04 PMgiles_horwitch-smith
04/15/2021, 2:40 PMmeltano elt tap-mysql target-postgres --job_id mysql-to-postgres
I tried with full-refresh tootaylor
04/15/2021, 2:42 PMgiles_horwitch-smith
04/15/2021, 2:58 PMgiles_horwitch-smith
04/15/2021, 2:59 PMtaylor
04/15/2021, 3:03 PMgiles_horwitch-smith
04/15/2021, 5:24 PMtaylor
04/15/2021, 5:37 PMQUALIFY statement, but if you’re on postgres then setting up a view that dedupes based on primary key w/ an updated_at field would be ideal. https://gitlab.com/gitlab-data/analytics/-/blob/master/transform/snowflake-dbt/mod[…]tlab_dotcom/dedupe/gitlab_dotcom_audit_events_dedupe_source.sql is an example of how the gitlab data team deduped some of the gitlab.com we extract
depends on your database - Snowflake is really nice with the Qualifygiles_horwitch-smith
04/15/2021, 6:09 PMgiles_horwitch-smith
04/15/2021, 6:09 PM