Andy Carter
11/13/2024, 9:52 AMmeltano run google_analytics
) is there a way to configure my job or task in the yaml to use --force
?
- name: google_analytics
tasks:
- tap-google-analytics target-postgres
Adding --force
to the block returns Error: Block --force not found
visch
11/13/2024, 2:12 PMmeltano run --force google_analytics
not meltano run google_analytics --force
Edgar Ramírez (Arch.dev)
11/13/2024, 3:52 PM- name: google_analytics
tasks:
- --force tap-google-analytics target-postgres
I'm curious why you'd prefer to hard-set the --force
flag.Andy Carter
11/14/2024, 9:10 AM--force
seemed like the next best option.visch
11/14/2024, 1:21 PMIf I cancel the job in dagster, meltano doesn't exit gracefully, and sometimes thinks there is another run still ongoing according to system dbIs a fixable problem
Unfortunately (AFAIK) I have no way to alter the meltano command being run by dagster, it's preset in my definition.Is fixable
So hard-coding+1seemed like the next best option.--force
Edgar Ramírez (Arch.dev)
11/15/2024, 3:08 AM--full-refresh
, so this might do something similar. The difficulty of hard-coding it in the job definition is that meltano run
can execute more than job so we decide how we reduce them.
I gave it a rough pass in
• https://github.com/meltano/meltano/tree/edgarrmondragon/feat/declarative-force-job
• https://github.com/meltano/meltano/actions/runs/11849511341
but I'm not a fan of this approach