ben_theunissen
02/06/2024, 8:53 PMtap-postgres
or general Meltano configuration I've misinterpreted.
I am passing a list of fields to select for a given stream via environment variables, and I see the fields that I want are flagged as selected: true
in the catalog when dumped. However the sync fails due to a JSON Schema violation, which has flagged a group of other fields as required
even though they were not explicitly selected. Is this expected behaviour and I need to explicitly deselect these fields, or could this be an issue with the JSON schema being generated including fields that were not selected?ben_theunissen
02/06/2024, 9:07 PMEdgar RamÃrez (Arch.dev)
02/06/2024, 9:30 PMrequired
array, you can add catalog
to your extractor pointing to the file:
plugins:
extractors:
- name: my-tap
catalog: ./path/to/my/catalog.json
ben_theunissen
02/06/2024, 9:31 PMben_theunissen
02/06/2024, 9:31 PMEdgar RamÃrez (Arch.dev)
02/06/2024, 10:54 PMMY_TAP__CATALOG=./path/to/my/catalog.json
🫤
https://github.com/meltano/sdk/issues/2224ben_theunissen
02/06/2024, 10:55 PMEdgar RamÃrez (Arch.dev)
02/07/2024, 12:51 AMCREATE TABLE subscriptions (
id CHAR(32) NOT NULL,
recipient VARCHAR(255) NOT NULL,
event_type VARCHAR(255) NOT NULL,
source_type VARCHAR(255),
source_id VARCHAR(255),
created_at DATETIME,
PRIMARY KEY (id),
UNIQUE (recipient, event_type, source_type, source_id)
);
ben_theunissen
02/07/2024, 6:37 PM