[Meltano] Utility 'dbt-osmosis' does not define any commands
Lawiss opened this issue · comments
Hello,
I tried to install dbt-osmosis as a Meltano utility using the instructions from the Meltano Hub, but I get an error when trying to use a command :
> meltano invoke dbt-osmosis:run
2023-05-31T09:02:26.871121Z [info ] Environment 'dev' is active
Need help fixing this problem? Visit http://melta.no/ for troubleshooting steps, or to
join our friendly Slack community.
Command 'run' could not be found. Utility 'dbt-osmosis' does not define any commands.
This is how I configured the utility in the meltano.yml
:
- name: dbt-osmosis
variant: z3z1ma
pip_url: dbt-osmosis dbt-postgres
namespace: dbt_postgres
config:
adapter: postgres
Environment info:
- Meltano v2.19.0
- dbt-osmosis v0.11.19
I'll need to update the metadata
EDIT: nevermind
The issue is that meltano links predefined metadata from the "hub" to a users plugin via an API which is typically cached to a lock file. This linkage is based on the pip_url
. So while it is necessary to define a specific dbt adapter (just like you did), it means you will need to define your own commands or run the tool directly since the two actions are not too different.