Skip to content

Commit

Permalink
Merge pull request #64 from fishtown-analytics/update/0.19.0-stmt-res…
Browse files Browse the repository at this point in the history
…ponse

Non-breaking update for v0.19.0
  • Loading branch information
jtcohen6 authored Jan 15, 2021
2 parents 8ce844e + bd34292 commit 9ed4b3d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions macros/common/stage_external_sources.sql
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,9 @@
{{ exit_txn }} {{ q }}
{% endcall %}

{% set status = load_result('runner')['status'] %}
{% do dbt_utils.log_info(loop_label ~ ' (' ~ loop.index ~ ') ' ~ status) %}
{% set runner = load_result('runner') %}
{% set log_msg = runner['response'] if 'response' in runner.keys() else runner['status'] %}
{% do dbt_utils.log_info(loop_label ~ ' (' ~ loop.index ~ ') ' ~ log_msg) %}

{% endfor %}

Expand Down
8 changes: 4 additions & 4 deletions run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ if [[ ! -f $VENV ]]; then
pip install --upgrade pip setuptools
if [ $1 == 'databricks' ]
then
pip install dbt-spark[ODBC] --upgrade
pip install --pre dbt-spark[ODBC] --upgrade
elif [ $1 == 'synapse' ]
then
pip install dbt-synapse --upgrade
pip install --pre dbt-synapse --upgrade
elif [ $1 == 'azuresql' ]
then
pip install dbt-sqlserver --upgrade
pip install --pre dbt-sqlserver --upgrade
else
pip install dbt --upgrade
pip install --pre dbt --upgrade
fi
fi

Expand Down

0 comments on commit 9ed4b3d

Please sign in to comment.