lemon-london-61072
12/15/2020, 10:38 AMambitious-lamp-95667
12/15/2020, 11:49 AMtap-extractor
meltano config target-bigquery set dataset_id '$MELTANO_EXTRACT__LOAD_SCHEMA'
meltano config target-bigquery set _target_schema '$TARGET_BIGQUERY_DATASET_ID'
lemon-london-61072
12/15/2020, 12:15 PMmeltano config tap-shopify set _load_schema shopify_data
meltano config tap-recharge set _load_schema recharge_data
meltano config target-bigquery set dataset_id '$MELTANO_EXTRACT__LOAD_SCHEMA'
With these settings when i create two pipeline (one for shopify and one for recharge) it will create "shopify_data" and "recharge_data" datasets in bigquery.
Also I am not sure, do i need to use?
meltano config target-bigquery set _target_schema '$TARGET_BIGQUERY_DATASET_ID'
ambitious-lamp-95667
12/15/2020, 12:44 PM_target_schema
on target-bigquerylemon-london-61072
12/15/2020, 2:01 PMambitious-lamp-95667
12/15/2020, 2:04 PMripe-musician-59933
12/15/2020, 3:45 PM_target_schema
and dataset_id
as above is already the default behavior 🙂
_load_schema
also doesn't need to be explicitly set on the extractors since it defaults to the namespace (e.g. tap_shopify
and tap_recharge
) : https://meltano.com/docs/plugins.html#load-schema-extra
Of course, if you prefer the _data
suffixes, using load_schema
as you are is great.lemon-london-61072
12/16/2020, 11:59 AM