Skip to content

Commit

Permalink
updated grain_to_date/Metric.time_granularity to be string instead of…
Browse files Browse the repository at this point in the history
… enum and added Metric.offset_to_grain
  • Loading branch information
WilliamDee committed Nov 12, 2024
1 parent c7bc383 commit 4d20820
Showing 1 changed file with 5 additions and 26 deletions.
31 changes: 5 additions & 26 deletions schemas/latest/dbt_yml_files-latest.json
Original file line number Diff line number Diff line change
Expand Up @@ -348,19 +348,7 @@
"type": "string"
},
"time_granularity": {
"enum": [
"nanosecond",
"microsecond",
"millisecond",
"second",
"minute",
"hour",
"day",
"week",
"month",
"quarter",
"year"
]
"type": "string"
},
"type_params": {
"type": "object"
Expand Down Expand Up @@ -1329,19 +1317,7 @@
"type": "string"
},
"grain_to_date": {
"enum": [
"nanosecond",
"microsecond",
"millisecond",
"second",
"minute",
"hour",
"day",
"week",
"month",
"quarter",
"year"
]
"type": "string"
},
"period_agg": {
"enum": [
Expand Down Expand Up @@ -1882,6 +1858,9 @@
"filter": {
"type": "string"
},
"offset_to_grain": {
"type": "string"
},
"offset_window": {
"type": "string"
}
Expand Down

0 comments on commit 4d20820

Please sign in to comment.