ricky_renner
03/18/2021, 9:56 PMtransform directory, what changes will be reflected in my meltano.yml ? I can't seem to find the documentation on this. The ones I've found are showing what to do if I am importing a dbt package, but not sure how to set a custom transform to a particular tap. Thank you!visch
03/19/2021, 1:10 AMdbt run so you just configure whatever you want in the transform folderricky_renner
03/19/2021, 1:24 PMmeltano.yml file. However, all of the examples I am looking at load in dbt packages and I don't see how to utilize a custom transform I have defined in the transform/ directoryricky_renner
03/22/2021, 2:14 PMTransform <transform_name> is not known to Meltano . Anybody been through this before?visch
03/22/2021, 2:16 PMricky_renner
03/22/2021, 2:24 PMtap-spreadsheets-anywhere tap that also runs custom dbt transform code?eric_simmerman
03/22/2021, 2:27 PMtaylor
03/22/2021, 2:32 PMtaylor
03/22/2021, 2:32 PMricky_renner
03/22/2021, 2:55 PMtaylor
03/22/2021, 2:58 PMricky_renner
03/22/2021, 3:04 PMtaylor
03/22/2021, 3:36 PMricky_renner
03/22/2021, 4:57 PMYour Meltano project does not contain a transform plugin for this extractor. Only proceed with running transformations as part of your pipeline if you've added these manually.
I know I need to add a transform plugin for the tap-spreadsheets-anywhere tap but it looks like I can only add custom plugins for extractors and loaders:
https://meltano.com/docs/plugin-management.html#custom-pluginstaylor
03/22/2021, 5:26 PMricky_renner
03/22/2021, 5:31 PMmeltano.yml file would have to be configured:
# etc
plugins:
extractors:
- name: tap-spreadsheets-anywhere
pip_url: git+<https://github.com/ets/tap-spreadsheets-anywhere.git>
config:
tables:
- path: <gs://bucket-name>
name: example
pattern: blob-path/folder/.*
start_date: '2017-05-01T00:00:00Z'
delimiter: '|'
key_properties:
- id
format: csv
# etc
transforms:
- name: tap-spreadsheets-anywhere
# other settings here...ricky_renner
03/22/2021, 5:39 PMtransform directory. If I do this, how would I configure my transforms: plugin section in my meltano.yml?
2. Add a section in my meltano.yml that downloads the dbt package via a reference to the GitHub repo.taylor
03/22/2021, 5:40 PM# etc
plugins:
extractors:
- name: tap-spreadsheets-anywhere
pip_url: git+<https://github.com/ets/tap-spreadsheets-anywhere.git>
model_name: my_dbt_models # this is where you can put whatever dbt models you want
config:
tables:
- path: <gs://bucket-name>
name: example
pattern: blob-path/folder/.*
start_date: '2017-05-01T00:00:00Z'
delimiter: '|'
key_properties:
- id
format: csv
# etc
transformers:
- name: dbt # other settings here...
config:
models: $MELTANO_EXTRACT__MODEL_NAME
and then you could run the elt with --transform=onlytaylor
03/22/2021, 5:40 PMtaylor
03/22/2021, 5:40 PMricky_renner
03/22/2021, 5:42 PMricky_renner
03/22/2021, 5:42 PMtransformers plugin section pretty surericky_renner
03/22/2021, 5:45 PMtransforms section and a transformers section. Where transformers is where something like dbt is defined and configured, but transforms is where dbt packages would be defined and configuredtaylor
03/22/2021, 5:45 PMtransformers then that would override what’s passed to meltano eltricky_renner
03/22/2021, 5:46 PMtransforms plugin section, but I don't really understand how to add a custom dbt package to that section. Does that make sense?ricky_renner
03/22/2021, 5:47 PMtaylor
03/22/2021, 5:50 PMdouwe_maan
03/22/2021, 5:52 PMricky_renner
03/22/2021, 5:53 PMdouwe_maan
03/22/2021, 5:53 PM