Skip to content

Commit acf4c81

Browse files
authored
Remove unnecessary generated new lines in star.sql (#651)
* Remove unnecessary generated new lines in star.sql * Update CHANGELOG.md
1 parent fc8b083 commit acf4c81

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,12 @@
1313
## New features
1414
- New feature to omit the `source_column_name` column on the `union_relations` macro ([#331](https://github.com/dbt-labs/dbt-utils/issues/331), [#624](https://github.com/dbt-labs/dbt-utils/pull/624))
1515

16+
## Fixes
17+
- Better handling of whitespaces in the star macro ([#651](https://github.com/dbt-labs/dbt-utils/pull/651))
18+
1619
## Contributors:
1720
- [@christineberger](https://github.com/christineberger) (#624)
21+
- [@courentin](https://github.com/courentin) (#651)
1822

1923
# dbt-utils v0.8.6
2024

macros/sql/star.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
{#-- Prevent querying of db in parsing mode. This works because this macro does not create any new refs. #}
1010
{%- if not execute -%}
1111
{{ return('*') }}
12-
{% endif %}
12+
{%- endif -%}
1313

1414
{% set cols = dbt_utils.get_filtered_columns_in_relation(from, except) %}
1515

0 commit comments

Comments
 (0)