silverbullet1
06/08/2023, 9:59 PMthomas_briggs
06/08/2023, 10:12 PMmeltano invoke tap-redshift > someFile
and inspect the schema it's providing for the stream in question. Honestly, odds are, it's not specifying the PK.silverbullet1
06/09/2023, 6:10 AMinformation_schema.table_constraints
and information_schema.key_column_usage
tables are empty, which is weird.silverbullet1
06/09/2023, 6:45 AMSELECT
c.relname AS table_name,
a.attname AS column_name,
conname AS constraint_name,
contype AS constraint_type
FROM
pg_catalog.pg_constraint AS con
JOIN pg_catalog.pg_class AS c ON c.oid = con.conrelid
JOIN pg_catalog.pg_attribute AS a ON a.attrelid = c.oid AND a.attnum = ANY(con.conkey)
WHERE contype IN ('p', 'u', 'f');
So should I create a PR and then build the tap from there ?silverbullet1
06/09/2023, 2:17 PMuser
06/12/2023, 1:30 PMuser
06/12/2023, 1:33 PMsilverbullet1
06/17/2023, 8:06 PM