lidong_zhao
06/08/2022, 3:16 PMmeltano etl command. I used meltano select to specify entities and attribute, here is the output of command `meltano select tap-postgres --list`:
Legend:
selected
excluded
automatic
Enabled patterns:
table2.Id
Selected attributes:
The Selected attributes section has nothing. I also tried to dump the catalog using meltano invoke --dump=catalog tap-postgres, but it didn't give the new table "table2" in the output at all. Did I miss anything? It will include the new table2 if I run command meltano invoke tap-postgres -d, but it gives me 0 row-count, event though there is a record in that table.thomas_briggs
06/08/2022, 3:21 PMlidong_zhao
06/08/2022, 3:37 PMthomas_briggs
06/08/2022, 4:49 PM--dump catalog what are the stream names it produces? Generally it'll be <schemaName>-<tableName>lidong_zhao
06/08/2022, 4:55 PM--dump catalog won't output table2, I have to use invoke -d to get the catalog which shows the output for table2thomas_briggs
06/08/2022, 5:02 PMinvoke -d but not --dump cataloglidong_zhao
06/08/2022, 6:07 PMException: Unrecognized replication_method None
Here is the content I have in meltano.yml
- name: tap-postgres
select:
- public-table2.id
metadata:
public-table2:
replication-method: FULL_TABLE
I dumped the config file, and I don't see replication-method in the config file, tried deleted tap.properties.cache_key and tap.properties.json, still no luck, any suggestion?thomas_briggs
06/08/2022, 7:56 PMlidong_zhao
06/08/2022, 8:52 PMmeltano select tap-postgres public-table2 id, the content above is from meltano.ymlthomas_briggs
06/08/2022, 8:55 PMlidong_zhao
06/08/2022, 8:58 PMthomas_briggs
06/08/2022, 9:04 PMplugins:
extractors:
- name: tap-postgres
variant: transferwise
pip_url: pipelinewise-tap-postgres
config:
dbname: mydb
user: postgres
metadata:
public-table2:
replication-method: FULL_TABLE
and see if that fixes it. That would be a bug if it does, I think, but like I said I know there's at least one open bug about metadata not being read correctly so it's definitely possible.lidong_zhao
06/08/2022, 11:34 PMlidong_zhao
06/08/2022, 11:35 PMthomas_briggs
06/09/2022, 2:39 PMthomas_briggs
06/09/2022, 2:39 PMlidong_zhao
06/09/2022, 5:14 PM