connor_lough
08/09/2022, 9:58 PMmeltano invoke dbt-snowflake:freshness to no avail.
Using v 1.2.0, the message that returns is:
Command 'freshness' could not be found. Transformer 'dbt-snowflake' supports the following commands: clean, compile, deps, run, seed, snapshot, test
Any thoughts on why this is failing? I see 'freshness' as an available command in the docs?pat_nadolny
08/09/2022, 11:01 PMmeltano lock dbt-snowflake --update to check for plugin definition updates. Of course make sure youre changes are committed to git first because it will overwrite your lock file if updates exist on the hub.connor_lough
08/10/2022, 3:11 PMmeltano --environment=dev invoke dbt-snowflake source freshnesspat_nadolny
08/10/2022, 3:20 PMmeltano invoke dbt-snowflake source freshness should be equivalent to meltano invoke dbt-snowflake:freshness behind the scenes. The invoke command allows you to pass any arbitrary arguments (i.e. source freshness) to the underlying executable because invoke only executes a single plugin at a time. With meltano run you dont get that capability because you can run many plugins together so arbitrary arguments arent supported. Thats why the meltano commands exist so you can do something like meltano run tap-csv target-postgres dbt-postgres:freshness . In your command youre sending dbt the appropriate arguments. Using invoke its just a matter of preference whether you use the meltano command or pass dbt the arguments directly. Does that make sense?connor_lough
08/10/2022, 3:31 PMtaylor
08/15/2022, 3:12 PMpat_nadolny
08/15/2022, 3:57 PM