Skip to content

Commit

Permalink
include all base columns in versioned models by default
Browse files Browse the repository at this point in the history
  • Loading branch information
MichelleArk committed Apr 11, 2023
1 parent 51ec615 commit f3bd959
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion core/dbt/contracts/graph/unparsed.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def formatted_v(self) -> str:

def __post_init__(self):
has_include_exclude = False
self._include_exclude = dbt.helper_types.IncludeExclude(include=[])
self._include_exclude = dbt.helper_types.IncludeExclude(include="*")
self._unparsed_columns = []
for column in self.columns:
if isinstance(column, dbt.helper_types.IncludeExclude):
Expand Down
2 changes: 0 additions & 2 deletions tests/functional/artifacts/test_artifacts.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,6 @@
versions:
- v: 1
defined_in: arbitrary_file_name
columns:
- include: '*'
- v: 2
config:
materialized: view
Expand Down

0 comments on commit f3bd959

Please sign in to comment.