proud-pillow-55935
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!flat-bear-81546
03/19/2021, 1:10 AMdbt run
so you just configure whatever you want in the transform folderproud-pillow-55935
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/
directoryTransform <transform_name> is not known to Meltano
. Anybody been through this before?flat-bear-81546
03/22/2021, 2:16 PMproud-pillow-55935
03/22/2021, 2:24 PMtap-spreadsheets-anywhere
tap that also runs custom dbt transform code?miniature-answer-26495
03/22/2021, 2:27 PMsalmon-salesclerk-77709
03/22/2021, 2:32 PMproud-pillow-55935
03/22/2021, 2:55 PMsalmon-salesclerk-77709
03/22/2021, 2:58 PMproud-pillow-55935
03/22/2021, 3:04 PMsalmon-salesclerk-77709
03/22/2021, 3:36 PMproud-pillow-55935
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-pluginssalmon-salesclerk-77709
03/22/2021, 5:26 PMproud-pillow-55935
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...
transform
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.salmon-salesclerk-77709
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=only
proud-pillow-55935
03/22/2021, 5:42 PMtransformers
plugin section pretty suretransforms
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 configuredsalmon-salesclerk-77709
03/22/2021, 5:45 PMtransformers
then that would override what’s passed to meltano eltproud-pillow-55935
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?salmon-salesclerk-77709
03/22/2021, 5:50 PMripe-musician-59933
03/22/2021, 5:52 PMproud-pillow-55935
03/22/2021, 5:53 PMripe-musician-59933
03/22/2021, 5:53 PM