GitHub
09/30/2024, 4:27 PM--full-refresh option of meltano run and meltano el|elt
Issue created by edgarrmondragon
Feature scope
CLI (options, error messages, logging, etc.)
Description
Many users' deployments generate or hard-code a Meltano command to run on their own infra, and modifying this command for a one-off full refresh of the data is inconvenient.
An environment variable would make triggering a full refresh in such environments considerably easier.
meltano/src/meltano/cli/run.py
Lines 59 to 66 in</meltano/meltano/commit/b8d68748075ec8e5e464da79a694164d0c62eeca|b8d6874>
| @click.option( |
| ------------------------------------------------------------------- |
| "--full-refresh", |
| help=( |
| "Perform a full refresh (ignore state left behind by any previous " |
| "runs). Applies to all pipelines." |
| ), |
| is_flag=True, |
| ) |
meltano/src/meltano/cli/elt.py
Lines 58 to 62 in</meltano/meltano/commit/b8d68748075ec8e5e464da79a694164d0c62eeca|b8d6874>
| full_refresh = click.option( |
| ------------------------------------------------------------------------------- |
| "--full-refresh", |
| help="Perform a full refresh (ignore state left behind by any previous runs).", |
| is_flag=True, |
| ) |
• https://click.palletsprojects.com/en/8.1.x/api/#click.Parameter
Slack
https://meltano.slack.com/archives/C069CQNHDNF/p1727713013315249?thread_ts=1727710811.205209&cid=C069CQNHDNF
meltano/meltanoGitHub
10/18/2024, 3:33 PM