lucas_w
07/06/2020, 3:03 PMtap-postgres target-snowflake. Looks like the issue is with write_schema_message() from the postgres tap, however the stream discovery catalog does succeed so a bit confused.douwe_maan
07/06/2020, 3:34 PMlucas_w
07/06/2020, 3:34 PMlucas_w
07/06/2020, 3:36 PMtap-postgres can discover the tap schemas?lucas_w
07/06/2020, 3:37 PMmeltano invoke tap-postgres --discover > .meltano/run/tap-postgres/tap.properties.jsondouwe_maan
07/06/2020, 3:38 PMmeltano invoke tap-postgres > tap-postgres.jsonl, followed by cat tap-postgres.jsonl | meltano invoke target-snowflakedouwe_maan
07/06/2020, 3:39 PMlucas_w
07/06/2020, 3:41 PMlucas_w
07/06/2020, 3:52 PMtarget-snowflake does nothing, so same with the catlucas_w
07/06/2020, 3:52 PMdouwe_maan
07/06/2020, 3:55 PMtarget-snowflake isn't raising any errors or anything, it's just doesn't appear to be doing anything at all?lucas_w
07/06/2020, 3:56 PMmeltano) lucaswiley@lucas-wiley pg-snowflake % meltano invoke tap-postgres > tap-postgres.jsonl
INFO Selected streams: ['userdata-public-RedactedTableName']
INFO No currently_syncing found
INFO Beginning sync of stream(userdata-public-RedactedTableName) with sync method(full)
INFO Stream userdata-public-RedactedTableName is using full_table replication
INFO Current Server Encoding: UTF8
INFO Current Client Encoding: UTF8
INFO hstore is UNavailable
INFO Beginning new Full Table replication 1594050550627
INFO select SELECT "***redactedtableinfo"
FROM "public"."RedactedTableName***"
ORDER BY xmin::text ASC with itersize 20000
INFO METRIC: {"type": "counter", "metric": "record_count", "value": 2035, "tags": {}}
(meltano) lucaswiley@lucas-wiley pg-snowflake % cat tap-postgres.jsonl | meltano invoke target-snowflake
(meltano) lucaswiley@lucas-wiley pg-snowflake % meltano invoke target-snowflakelucas_w
07/06/2020, 3:57 PMmeltano invoke target-snowflake)douwe_maan
07/06/2020, 3:58 PMtarget-snowflake source in .meltano/loaders/target-snowflake/venv/lib/python3.7/site-packages/target_snowflake and adding some print-based debugging of your own? 🙂lucas_w
07/06/2020, 3:59 PMdouwe_maan
07/06/2020, 4:01 PMlucas_w
07/06/2020, 4:03 PMlucas_w
07/06/2020, 4:36 PMmeltano elt stacktrace does not indicate any issue with the target at all, all the errors are on the tapdouwe_maan
07/06/2020, 4:36 PMtarget-snowflake 's silent failing and just closing the stdin pipe, of coursedouwe_maan
07/06/2020, 4:36 PMdouwe_maan
07/06/2020, 4:37 PMtarget-snowflake? Happy to jump on a call as well if I could helplucas_w
07/06/2020, 4:38 PMdouwe_maan
07/06/2020, 4:38 PMbreakpoint() in there and step through until it goes off the expected trackdouwe_maan
07/06/2020, 4:40 PMlucas_w
07/06/2020, 4:40 PMlucas_w
07/06/2020, 4:40 PMdouwe_maan
07/06/2020, 4:41 PMdouwe_maan
07/06/2020, 4:41 PMlucas_w
07/06/2020, 4:42 PMdouwe_maan
07/06/2020, 4:43 PMlucas_w
07/06/2020, 4:43 PMdouwe_maan
07/06/2020, 5:29 PMasn1crypto up to 1.3.0 may not be a full solution, since https://gitlab.com/meltano/target-snowflake/-/merge_requests/28 suggests that it's incompatible with the current version of snowflake-connector-python we use.douwe_maan
07/06/2020, 5:29 PMlucas_w
07/06/2020, 5:39 PMdouwe_maan
07/06/2020, 5:41 PM