This is an issue which I've noticed across a few taps but first here so I'll raise the issue here and take it from there.
In my use case I am pulling static reports from various taps and using a target to store them in a database. Because the reports are static I know what the primary key (PK) should be.
It would be good to be able to set the PK in a similar fashion as was just merged into tap-adwords (singer-io/tap-adwords#58)
This would involve changing this line to:
singer.write_schema(report_stream.stream,
report_schema,
metadata.get(stream_metadata, (), 'tap-bing-ads.report-key-properties') or [])
)
This change would, of course, need the relevant documentation additions.
Please do let me know if such a PR would be approved and I'll put it in ASAP.
This is an issue which I've noticed across a few taps but first here so I'll raise the issue here and take it from there.
In my use case I am pulling static reports from various taps and using a target to store them in a database. Because the reports are static I know what the primary key (PK) should be.
It would be good to be able to set the PK in a similar fashion as was just merged into
tap-adwords(singer-io/tap-adwords#58)This would involve changing this line to:
This change would, of course, need the relevant documentation additions.
Please do let me know if such a PR would be approved and I'll put it in ASAP.