Ian OLeary
05/23/2024, 2:35 PMdagster_dbt.errors.DagsterDbtCliRuntimeError: The dbt CLI process with command
`dbt build --select fqn:*`
failed with exit code `2`. Check the stdout in the Dagster compute logs for the full information about the error, or view the dbt debug log: /project/transform/target/dbt_project_assets-4a67f79-32186f0/dbt.log.
Errors parsed from dbt logs:
Encountered an error:
'dbt_<snowflake://macros/apply_grants.sql>'
I'm getting this error trying to materialize my dbt assets within dagster, has anyone run into this issue before? Can post the stack trace in the thread if needed
Sidenote: I'm able to run the meltano invoke dbt-snowflake:run command successfully inside the container after doing a docker exec -it <container> /bin/bashAndy Carter
05/23/2024, 4:16 PMAndy Carter
05/23/2024, 4:18 PMDBT_PROJECT_PATH when running via dagster? Can you share the .sql file here?Ian OLeary
05/23/2024, 4:49 PMIan OLeary
05/23/2024, 4:55 PMmacro-paths:
- macros
I have this set in my dbt_project.yml located at transform/
DBT_PROJECT_PATH = str(Path(__file__).parent.parent.parent / "transform")
I have this set when running via dagster