Stéphane Burwash
03/08/2023, 4:50 PMmeltano.yml
? I have the replication method set in one of my taps (incremental), but I would love to trigger a full table replication once in a whileedgar_ramirez_mondragon
03/08/2023, 5:10 PMmeltano.yml
, but the run
command has a --full-refresh
flagStéphane Burwash
03/08/2023, 5:11 PMStéphane Burwash
03/08/2023, 5:11 PMaaronsteers
03/08/2023, 6:10 PMmetadata
option in this stack overflow answer?aaronsteers
03/08/2023, 6:10 PMextractors:
- name: tap-postgres
metadata:
"stream_name":
replication-method: FULL_TABLE
Stéphane Burwash
03/08/2023, 6:53 PMStéphane Burwash
03/08/2023, 9:50 PMStéphane Burwash
03/08/2023, 10:04 PMmeltano invoke --dump=catalog tap-wrike--timelog-ids > state.json
)
"stream": "timelogs",
"metadata": [
{
"breadcrumb": [],
"metadata": {
"table-key-properties": [
"id"
],
"forced-replication-method": "INCREMENTAL",
"valid-replication-keys": [
"updatedDate"
],
"inclusion": "available",
"selected": true,
"replication-method": "FULL_TABLE"
}
},
What is the difference between replication-method
and forced-replication-method
?aaronsteers
03/08/2023, 10:14 PMStéphane Burwash
03/08/2023, 10:15 PMaaronsteers
03/08/2023, 10:16 PMaaronsteers
03/08/2023, 10:16 PMStéphane Burwash
03/08/2023, 10:16 PMaaronsteers
03/08/2023, 10:16 PMaaronsteers
03/08/2023, 10:17 PMaaronsteers
03/08/2023, 10:17 PMforced-replication-method
but it sounds like you tried that alreadyaaronsteers
03/08/2023, 10:18 PMStéphane Burwash
03/08/2023, 10:18 PM- name: tap-wrike--timelog-ids
metadata:
timelogs:
# set all streams to "full table" mode
forced-replication-method: FULL_TABLE
replication-method: FULL_TABLE
inherit_from: tap-wrike
select:
- timelogs.id
This will crash because I don't specify the rpelication keyaaronsteers
03/08/2023, 10:18 PMaaronsteers
03/08/2023, 10:19 PMaaronsteers
03/08/2023, 10:20 PMaaronsteers
03/08/2023, 10:20 PMStéphane Burwash
03/08/2023, 10:22 PMedgar_ramirez_mondragon
03/08/2023, 10:32 PMreplication_method
? (i.e. with an underscore)aaronsteers
03/08/2023, 10:38 PMreplication_method=replication_method,
and then try from the fork.Stéphane Burwash
03/09/2023, 2:15 PM--full-refresh
flag in a job ?Stéphane Burwash
03/09/2023, 8:06 PMaaronsteers
03/09/2023, 8:16 PMthere is not way to pass theUnfortunately not, not as of now that I'm aware of. We have an issue though tracking this as a feature request. I can dig up the link if helpful.flag in a job ?--full-refresh
Stéphane Burwash
03/09/2023, 8:20 PMaaronsteers
03/09/2023, 8:23 PMCould definitely be a cool feature thoughAgreed. I imagine post-launch of Meltano Cloud GA (if not sooner), we're going to want this as a way for users to do full backfills on Cloud-hosted projects.