prratek_ramchandani
06/02/2021, 1:11 PMtap-postgres. i’m pointing it to my custom catalog file which has a modified schema for most streams and see this in the logs
meltano | Found catalog in /path/to/meltano/extract/tap-postgres.catalog.json
but the tap still outputs the default schema. i noticed that the tap takes a --properties option and not --catalog. could that be responsible for the issue here?prratek_ramchandani
06/02/2021, 1:23 PMschema in meltano.yml too https://meltano.slack.com/archives/C01TCRBBJD7/p1621971324081500?thread_ts=1621970218.073800&cid=C01TCRBBJD7taylor
06/02/2021, 1:32 PMproperties capability is defined. see https://meltano.slack.com/archives/C01TCRBBJD7/p1621526498044200?thread_ts=1621519111.034600&cid=C01TCRBBJD7prratek_ramchandani
06/02/2021, 1:56 PM["null", "object", "array"] and bigquery doesn’t know what to do with that. the target throws this when it gets to one of those fields because the object type field doesn’t declare `properties`:
"TypeError: argument of type 'NoneType' is not iterable"douwe_maan
06/02/2021, 2:11 PMdo you think the tap is just not using the override schema then?Yeah, this is likely. We have an issue about addressing this in Meltano: https://gitlab.com/meltano/meltano/-/issues/2469. Another approach would use https://gitlab.com/meltano/meltano/-/issues/2300, which isn't implemented yet either. The only real workaround for now would be to patch the tap to respect the overridden schema.
douwe_maan
06/02/2021, 2:11 PMprratek_ramchandani
06/02/2021, 2:41 PMprratek_ramchandani
06/02/2021, 2:44 PMdouwe_maan
06/02/2021, 2:56 PMprratek_ramchandani
06/02/2021, 2:56 PMprratek_ramchandani
06/02/2021, 3:13 PMprratek_ramchandani
06/02/2021, 3:20 PMprratek_ramchandani
06/02/2021, 3:40 PM