Skip to content

Commit

Permalink
Merge pull request #322 from fishtown-analytics/fix-query-as-dict-test
Browse files Browse the repository at this point in the history
Fix: get_query_results_as_dict integration test
  • Loading branch information
jtcohen6 committed Jan 8, 2021
2 parents 3a55c30 + a287d40 commit 86cb6eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# dbt-utils v0.6.4

### Fixes
- Fix `insert_by_period` to support `dbt v0.19.0`, with backwards compatibility for earlier versions ([#319](https://github.com/fishtown-analytics/dbt-utils/pull/319), [#320](https://github.com/fishtown-analytics/dbt-utils/pull/320))

### Under the hood
- Speed up CI via threads, workflows ([#315](https://github.com/fishtown-analytics/dbt-utils/pull/315), [#316](https://github.com/fishtown-analytics/dbt-utils/pull/316))
- Fix `equality` test when used with ephemeral models + explicit column set ([#321](https://github.com/fishtown-analytics/dbt-utils/pull/321))
- Fix `get_query_results_as_dict` integration test with consistent ordering ([#322](https://github.com/fishtown-analytics/dbt-utils/pull/322))

# dbt-utils v0.6.3

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


{% set actual_dictionary=dbt_utils.get_query_results_as_dict(
"select * from " ~ ref('data_get_query_results_as_dict')
"select * from " ~ ref('data_get_query_results_as_dict') ~ " order by 1"
) %}
{#-
For reasons that remain unclear, Jinja won't return True for actual_dictionary == expected_dictionary.
Expand Down

0 comments on commit 86cb6eb

Please sign in to comment.