Skip to content

Commit

Permalink
Add granularity field to UnparsedColumn & update JSON schemas
Browse files Browse the repository at this point in the history
Note that the schemas updates include some unrelated changes. I assume this is because a previous commit to main did not update the JSON schema when it should have.
  • Loading branch information
courtneyholcomb committed Jul 24, 2024
1 parent c3ec982 commit ad8fd63
Show file tree
Hide file tree
Showing 2 changed files with 767 additions and 12 deletions.
1 change: 1 addition & 0 deletions core/dbt/contracts/graph/unparsed.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ class HasColumnAndTestProps(HasColumnProps):
class UnparsedColumn(HasColumnAndTestProps):
quote: Optional[bool] = None
tags: List[str] = field(default_factory=list)
granularity: Optional[str] = None # str is really a TimeGranularity Enum


@dataclass
Expand Down
Loading

0 comments on commit ad8fd63

Please sign in to comment.