hawkar_mahmod
08/15/2023, 4:32 PMkey_properties
on a tap but the target (target-redshift) won't recognise it at all. Keep getting the an error from the target saying the key_properties
is not set. I'm using the tap-apple-search-ads (forked with additions). Here's what my meltano.yml looks like, under the plugin -> tap-apple-search-ads:
metadata:
impression_share_reports:
replication-method: INCREMENTAL
replication-key: date
key-properties: [date]
When I run meltano invoke
and do a dump of the catalog, it does correctly specified metadata to generated catalog. But not sure if this same catalog is being used when I use meltano run
visch
08/15/2023, 5:16 PMmeltano invoke tap-name > out
visch
08/15/2023, 5:16 PMhawkar_mahmod
08/15/2023, 5:35 PM{
"type": "SCHEMA",
"stream": "impression_share_reports",
"schema": {
"properties": {
"date": {
"format": "date",
"type": "string"
},
"appName": {
"type": "string"
},
"adamId": {
"type": "string"
},
"countryOrRegion": {
"type": "string"
},
"searchTerm": {
"type": "string"
},
"lowImpressionShare": {
"minimum": 0,
"maximum": 1,
"type": "number"
},
"highImpressionShare": {
"minimum": 0,
"maximum": 1,
"type": "number"
},
"rank": {},
"searchPopularity": {
"type": "integer"
}
},
"type": "object"
},
"key_properties": []
}
visch
08/15/2023, 5:39 PMvisch
08/15/2023, 5:40 PMhawkar_mahmod
08/16/2023, 10:51 AM