Kyunghwan Choi
08/28/2024, 7:26 PMCharles Feduke
08/28/2024, 7:55 PMpartial_state
and completed_state
and within those JSON columns will contain all of the bookmark data for each configured tap. If you have state that has an entry for a table with no bookmark information then double check your configuration since the default for some taps may be full table. You should have one record in the state table per tap and the tap can have many streams.Charles Feduke
08/28/2024, 7:55 PMKyunghwan Choi
08/28/2024, 8:14 PM{
"singer_state": {
"stream_descriptor": {
"name": "carrier_payments",
"namespace": null
},
"stream_state": {
"updatedAt": "2024-08-28T19:21:22.151401Z"
}
}
}
So.. there should be multiple, one per stream? There are like 20 streams, and only one datapoint in there, which iss odd.Charles Feduke
08/28/2024, 8:15 PMKyunghwan Choi
08/28/2024, 8:15 PMcompleted_state
column.Kyunghwan Choi
08/28/2024, 8:15 PMcarrier_payments
is only one of the 20 or so streams. And I don't see other stream timestamps.Charles Feduke
08/28/2024, 8:16 PMCharles Feduke
08/28/2024, 8:18 PMFULL_TABLE
for tap-postgres is the default, however I’ll see state entries with no bookmark information; but each tap could handle this differently)Kyunghwan Choi
08/28/2024, 8:19 PMCharles Feduke
08/28/2024, 8:19 PMCharles Feduke
08/28/2024, 8:22 PMextractors:
- name: tap-postgres--primary-facade-svc-db
inherit_from: tap-postgres
metadata:
# primary facade
company:
replication-method: INCREMENTAL
replication-key: modified_date
I had accidentally left the schema name off from company
so when the stream primary_facade-company
was copied it was FULL_TABLE
the default and I was like… why? I configured this! But meltano was actually giving me a warning message that “stream company does not exist in source” and I was missing it, flummoxed by the full table copy behaviorCharles Feduke
08/28/2024, 8:23 PMKyunghwan Choi
08/28/2024, 8:26 PMCharles Feduke
08/28/2024, 8:26 PMKyunghwan Choi
08/28/2024, 8:27 PMCharles Feduke
08/28/2024, 8:27 PMmodified_date
being present and reliable on every row)Kyunghwan Choi
08/28/2024, 8:27 PMCharles Feduke
08/28/2024, 8:28 PMprimary_facade-company:
replication-method: INCREMENTAL
replication-key: modified_date
primary_facade-investment:
replication-method: INCREMENTAL
replication-key: modified_date
primary_facade-investor_profile:
replication-method: INCREMENTAL
replication-key: modified_date
I originally tried primary_facade-*
with the replication-method and replication-key but that did not work - instead I got FULL_TABLE
replication for everything, all of the time which was no goodCharles Feduke
08/28/2024, 8:30 PMKyunghwan Choi
08/28/2024, 8:39 PMCharles Feduke
08/28/2024, 8:40 PMKyunghwan Choi
08/28/2024, 10:22 PM