Mickaƫl Andrieu
08/08/2022, 2:29 PMMickaƫl Andrieu
08/09/2022, 2:42 AMMickaƫl Andrieu
08/09/2022, 4:55 AMMatt Webster
10/23/2022, 6:01 PMpackages-install-path: '../dbt_packages'
There really should be something in the Airbyte docs to explains how to use dbt packagesā¦MickaĆ«l Andrieu
10/31/2022, 7:54 AMMickaƫl Andrieu
10/31/2022, 8:05 AMMarcos Marx (Airbyte)
10/31/2022, 11:51 AMMatt Webster
11/02/2022, 3:58 PMdbt build and see which works better. and glad to see the docs updated too!Hiroto Yamakawa
05/16/2023, 3:36 PMpackages-install-path: 'dbt_packages'
therefore, I've tried to override its value at runtime using:
1. deps --vars '{"packages-install-path":"../dbt_packages"}'
2. run --select models --vars '{"packages-install-path":"../dbt_packages"}'
when parsing the error log, I can see the following arguments get added to the two runs
--profiles-dir=/data/35/0/transform --project-dir=/data/35/0/transform/git_repo
based on the custom path added for packages-install-paths, the package should be located in /data/35/0/transform/dbt_packages , but perhaps this directory get wiped after each transformation, which leads to the error during step 2?Hiroto Yamakawa
05/17/2023, 12:29 PMdeps --vars '{"packages-install-path":"../dbt_packages"}' doesn't work, I've tried locally and it ignores the argument --vars (seems to only work for dbt run ) ,
any idea of how I could override packages-install-path at run time? we use the value defined in dbt_project.yml for other tasks, hence why I would like to leave it untouched.Mickaƫl Andrieu
05/17/2023, 1:13 PMpackages-install-path: "{{ var('AIRBYTE_PACKAGES_DIR', 'dbt_packages') }}"
And then you can try this:
dbt deps --vars '{"AIRBYTE_PACKAGES_DIR": "../dbt_packages"}'Hiroto Yamakawa
05/17/2023, 1:32 PMdbt deps --vars "{key:value}" doesn't seem to work, --vars seem to be for dbt run only.
I guess we will simply set the default value in dbt_project.yml to '`../dbt_packages`' and adapt our docker image accordingly š