I want to assign specific environment variables bu...
# random
a
I want to assign specific environment variables but I am getting a bit confused with the documentation. > • `MELTANO_EXTRACT_SETTING_NAME`: one environment variable for each of the extractor's settings and extras, e.g.
MELTANO_EXTRACT_PRIVATE_TOKEN
for the
private_token
setting, and
MELTANO_EXTRACT__LOAD_SCHEMA
for the
load_schema
extra > • `SETTING_ENV`: all of the extractor's regular configuration environment variables, as listed by
meltano config <plugin> list
, e.g.
TAP_GITLAB_API_URL
for the
api_url
setting 1. When do you use one underscore before the setting name and when do you use two? a. MELTANO_EXTRACT_PRIVATE_TOKEN b. MELTANO_EXTRACT__LOAD_SCHEMA 2. Is MELTANO_EXTRACT and TAP_GITLAB interchangeable? For example, will MELTANO_EXTRACT_API_URL have the same impact on the run as TAP_GITLAB_API_URL?
e
When do you use one underscore before the setting name and when do you use two?
Only extras should have an double underscore: https://docs.meltano.com/concepts/plugins/#extras
Is MELTANO_EXTRACT and TAP_GITLAB interchangeable? For example, will MELTANO_EXTRACT_API_URL have the same impact on the run as TAP_GITLAB_API_URL?
Whenever you're referring to
tap-gitlab
in config/invoke/el/run, yes.
a
The first answer makes sense but still a little confused on the second point. Here is an example:
TAP_GITLAB_API_URL='example' meltano run tap-gitlab target-jsonl
MELTANO_EXTRACT_API_URL='example' meltano run tap-gitlab target-jsonl
TAP_GITLAB___CATALOG='example' meltano run tap-gitlab target-jsonl
MELTANO_EXTRACT__CATALOG='example' meltano run tap-gitlab target-jsonl
Will both of those commands set the exact same setting during runtime?