Skip to content

Commit

Permalink
update quotes (brooklyn-data#227)
Browse files Browse the repository at this point in the history
* update quotes

* Update macros/upload_invocations.sql

* Update upload_invocations.sql

* Fix bigquery quotes

* Remove snapshot from spark tests due to file type

Co-authored-by: Niall Woodward <[email protected]>
  • Loading branch information
2 people authored and robertholmes3 committed Nov 2, 2022
1 parent 03d3c9a commit 36a4183
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ env.sh

.python_version
.vscode
.venv
4 changes: 2 additions & 2 deletions macros/upload_invocations.sql
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
'{{ env_var('DBT_CLOUD_JOB_ID', '') }}', {# dbt_cloud_job_id #}
'{{ env_var('DBT_CLOUD_RUN_ID', '') }}', {# dbt_cloud_run_id #}
'{{ env_var('DBT_CLOUD_RUN_REASON_CATEGORY', '') }}', {# dbt_cloud_run_reason_category #}
'{{ env_var('DBT_CLOUD_RUN_REASON', '') }}', {# dbt_cloud_run_reason #}
'{{ env_var('DBT_CLOUD_RUN_REASON', '') | replace("'","\\'") }}', {# dbt_cloud_run_reason #}

{% if var('env_vars', none) %}
{% set env_vars_dict = {} %}
Expand Down Expand Up @@ -88,7 +88,7 @@
'{{ env_var('DBT_CLOUD_JOB_ID', '') }}', {# dbt_cloud_job_id #}
'{{ env_var('DBT_CLOUD_RUN_ID', '') }}', {# dbt_cloud_run_id #}
'{{ env_var('DBT_CLOUD_RUN_REASON_CATEGORY', '') }}', {# dbt_cloud_run_reason_category #}
'{{ env_var('DBT_CLOUD_RUN_REASON', '') }}', {# dbt_cloud_run_reason #}
'{{ env_var('DBT_CLOUD_RUN_REASON', '') | replace("'","\\'") }}', {# dbt_cloud_run_reason #}

{% if var('env_vars', none) %}
{% set env_vars_dict = {} %}
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -141,5 +141,5 @@ changedir = integration_test_project
deps = dbt-spark[ODBC]~=1.3.0
commands =
dbt deps
dbt build --target spark
dbt build --exclude snapshot --target spark

0 comments on commit 36a4183

Please sign in to comment.