File tree Expand file tree Collapse file tree 2 files changed +18
-3
lines changed
Expand file tree Collapse file tree 2 files changed +18
-3
lines changed Original file line number Diff line number Diff line change 66 How to deploy:
77 ```bash
88 dbt run-operation sis_deploy__diff_helper
9+ # or
10+ dbt run-operation sis_deploy__diff_helper --args '{packages_install_path: your_specific_path}'
911 ```
12+ args :
13+ - name : packages_install_path
14+ description : |
15+ Default to `dbt_packages`.
16+
17+ If you configured `packages-install-path` with a specific value e.g. `my_installed_packages`,
18+ then the deployment command will need to use this argument, for example:
19+
20+ ```bash
21+ dbt run-operation sis_deploy__diff_helper \
22+ --args '{packages_install_path: my_installed_packages}'
23+ ```
Original file line number Diff line number Diff line change 1- {% macro sis_deploy__diff_helper(package_dir = ' dbt_packages/data_diff ' ) - %}
1+ {% macro sis_deploy__diff_helper(packages_install_path = ' dbt_packages' ) - %}
22
33 {% set ns = data_diff .get_namespace () %}
4-
54 {% set query %}
65
76 create schema if not exists {{ ns }};
87 create or replace stage {{ ns }}.stage_diff_helper
98 directory = ( enable = true )
109 comment = ' Named stage for diff helper SiS appilication' ;
1110
12- PUT file:// {{ package_dir }}/ macros/ sis/ diff_helper .py @{{ ns }}.stage_diff_helper overwrite= true auto_compress= false;
11+ PUT file:// {{ packages_install_path }}/ data_diff/ macros/ sis/ diff_helper .py @{{ ns }}.stage_diff_helper
12+ overwrite= true
13+ auto_compress= false;
1314
1415 create or replace streamlit {{ ns }}.data_diff_helper
1516 root_location = ' @{{ ns }}.stage_diff_helper'
You can’t perform that action at this time.
0 commit comments