dbt-snowflake fails with meltano run
What is the current bug behavior?
What is happening now?
dbt-snowflake fails to run commands defined in discovery.yml when using meltano run
What is the expected correct behavior?
What should be happening?
meltano run
should be able to execute dbt-snowflake commands as defined in discovery.yml.
Steps to reproduce
How one can reproduce the issue?
meltano init test
cd test
meltano add transformer dbt-snowflake
meltano invoke dbt-snowflake:deps
# 21:39:53 Running with dbt=1.0.5
# 21:39:53 Warning: No packages were found in packages.yml
meltano run dbt-snowflake:deps
# error
Relevant logs and/or screenshots
Please use code blocks (```) to format console output
2022-04-26T21:40:31.292906Z [info ] Environment 'dev' is active
2022-04-26T21:40:32.305402Z [info ] commands commands={0: 'deps'}
2022-04-26T21:40:34.292208Z [info ] usage: dbt [-h] [--version] [-r RECORD_TIMING_INFO] [-d] cmd_type=command name=dbt-snowflake stdio=stderr
2022-04-26T21:40:34.292637Z [info ] [--log-format {text,json,default}] [--no-write-json] cmd_type=command name=dbt-snowflake stdio=stderr
2022-04-26T21:40:34.292745Z [info ] [--use-colors | --no-use-colors] [--printer-width PRINTER_WIDTH] cmd_type=command name=dbt-snowflake stdio=stderr
2022-04-26T21:40:34.292895Z [info ] [--warn-error] [--no-version-check] cmd_type=command name=dbt-snowflake stdio=stderr
2022-04-26T21:40:34.293012Z [info ] [--partial-parse | --no-partial-parse] [--use-experimental-parser] cmd_type=command name=dbt-snowflake stdio=stderr
2022-04-26T21:40:34.293159Z [info ] [--no-static-parser] [--profiles-dir PROFILES_DIR] cmd_type=command name=dbt-snowflake stdio=stderr
2022-04-26T21:40:34.293346Z [info ] [--no-anonymous-usage-stats] [-x] cmd_type=command name=dbt-snowflake stdio=stderr
2022-04-26T21:40:34.293586Z [info ] [--event-buffer-size EVENT_BUFFER_SIZE] cmd_type=command name=dbt-snowflake stdio=stderr
2022-04-26T21:40:34.293738Z [info ] {docs,source,init,clean,debug,deps,list,ls,build,snapshot,run,compile,parse,test,seed,run-operation} cmd_type=command name=dbt-snowflake stdio=stderr
2022-04-26T21:40:34.294010Z [info ] ... cmd_type=command name=dbt-snowflake stdio=stderr
2022-04-26T21:40:34.294178Z [info ] dbt: error: unrecognized arguments: None cmd_type=command name=dbt-snowflake stdio=stderr
2022-04-26T21:40:34.407488Z [error ] Block run completed. block_type=InvokerCommand err=RunnerError('`dbt-snowflake deps` failed with exit code: 2') exit_codes={} set_number=0 success=False
Run invocation could not be completed as block failed: `dbt-snowflake deps` failed with exit code: 2
Possible fixes
If you can, link to the line of code that might be responsible for the problem or suggest a fix
Further regression test
Ensure we automatically catch similar issues in the future
-
Write additional adequate test cases and submit test results -
Test results should be reviewed by a person from the team