Skip to content

Commit

Permalink
Merge pull request #279 from fishtown-analytics/fix-default-args
Browse files Browse the repository at this point in the history
Remove errant default args from get_tables_by_pattern_sql
  • Loading branch information
Claire Carroll authored Sep 16, 2020
2 parents c838953 + 40b215c commit dd35625
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# dbt-utils v0.6.2

## Fixes
- Fix the logic in `get_tables_by_pattern_sql` to ensure non-default arguments are respected ([#279](https://github.com/fishtown-analytics/dbt-utils/pull/279))


# dbt-utils v0.6.1

## Fixes
Expand Down
2 changes: 1 addition & 1 deletion macros/sql/get_tables_by_pattern_sql.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% macro get_tables_by_pattern_sql(schema_pattern, table_pattern, exclude='', database=target.database) %}
{{ adapter.dispatch('get_tables_by_pattern_sql', packages = dbt_utils._get_utils_namespaces())
(schema_pattern, table_pattern, exclude='', database=target.database) }}
(schema_pattern, table_pattern, exclude, database) }}
{% endmacro %}

{% macro default__get_tables_by_pattern_sql(schema_pattern, table_pattern, exclude='', database=target.database) %}
Expand Down

0 comments on commit dd35625

Please sign in to comment.