Arnaud Stephan
11/05/2024, 10:32 AMRUN meltano config tap-postgres set _metadata 'public-metric_value' replication-key date_modified
It works perfectly, but the thing is that date_modified
is not the only column I should check. Basically, I would like to run this :
RUN meltano config tap-postgres set _metadata 'public-metric_value' replication-key coalesce(date_modified, date_created)
Is there a way to do it ?
I've also tried
RUN meltano config tap-postgres set _metadata 'public-metric_value' replication-key date_modified if date_modified else date_created
visch
11/05/2024, 3:15 PMmeltano config etc
every run, while you can do that it's really not needed.
In regards to how to set multiple replication keys that's not a thing I think any tap I know of supports.visch
11/05/2024, 3:15 PMvisch
11/05/2024, 3:17 PMArnaud Stephan
11/05/2024, 3:46 PMArnaud Stephan
11/05/2024, 3:47 PM