Sven Balnojan
02/14/2023, 1:27 PMvisch
02/14/2023, 3:19 PMversion: 1
send_anonymous_usage_stats: true
project_id: "tap-postgres"
plugins:
extractors:
- name: "tap-postgres"
namespace: "tap_postgres"
pip_url: -e .
capabilities:
- state
- catalog
- discover
config:
sqlalchemy_url: "<postgresql://postgres:postgres@localhost:5432/postgres>"
settings:
- name: sqlalchemy_url
kind: password
select:
- "public-test_users.*"
metadata:
"public-test_users":
key_properties: ["id"]
Works for me! Tested by removing the primary key and going back and forth.
I will say it did take me a bit to get the syntax here right, should probably add this as an example in the docs under metadata?Sven Balnojan
02/15/2023, 8:39 AMSven Balnojan
02/15/2023, 8:46 AM- name: tap-postgres
variant: transferwise
capabilities:
- state
- discover
- catalog
pip_url: pipelinewise-tap-postgres
config:
host: 172.17.0.1
port: 5432
user: admin
password: password
dbname: postgres
select:
- "public-orders.*"
metadata:
"public-orders":
replication-method: FULL_TABLE
#replication-key: id
key_properties: ["cid"] # different id...
aaronsteers
02/15/2023, 4:11 PMSven Balnojan
02/15/2023, 4:20 PMvisch
02/15/2023, 4:25 PMtable-key-properties
works for that one?aaronsteers
02/15/2023, 4:31 PMaaronsteers
02/15/2023, 4:31 PMSven Balnojan
02/15/2023, 4:32 PMaaronsteers
02/15/2023, 4:35 PMtable-key-properties
works for your transferwise tap-postgres example? If not, can you log to the issue above?visch
02/15/2023, 4:39 PMvisch
02/15/2023, 4:40 PM- name: "pipelinewise-tap-postgres"
namespace: "tap_postgres"
pip_url: "pipelinewise-tap-postgres"
executable: "tap-postgres"
capabilities:
- state
- catalog
- discover
config:
host: "localhost"
port: 5432
user: "postgres"
password: "postgres"
dbname: "postgres"
select:
- "public-test_users.*"
metadata:
"public-test_users":
table-key-properties: ["name"]
key_properties: ["name"]
replication-method: "FULL_TABLE"
Doesn't work for me either @Sven Balnojan to help with the issueaaronsteers
02/15/2023, 6:02 PMvisch
02/15/2023, 6:02 PM