Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support new semantic layer features #155

Merged
merged 2 commits into from
Aug 16, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
89 changes: 89 additions & 0 deletions schemas/latest/dbt_yml_files-latest.json
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,21 @@
"label": {
"type": "string"
},
"time_granularity": {
"enum": [
"nanosecond",
"microsecond",
"millisecond",
"second",
"minute",
"hour",
"day",
"week",
"month",
"quarter",
"year"
]
},
"type_params": {
"type": "object"
}
Expand Down Expand Up @@ -415,6 +430,18 @@
"$ref": "#/$defs/data_tests"
}
},
"time_spine": {
"type": "object",
"required": [
"standard_granularity_column"
],
"properties": {
"standard_granularity_column": {
"type": "string"
}
},
"additionalProperties": false
},
"versions": {
"type": "array",
"items": {
Expand Down Expand Up @@ -1076,6 +1103,21 @@
"data_type": {
"type": "string"
},
"granularity": {
"enum": [
"nanosecond",
"microsecond",
"millisecond",
"second",
"minute",
"hour",
"day",
"week",
"month",
"quarter",
"year"
]
},
"meta": {
"type": "object"
},
Expand Down Expand Up @@ -1194,8 +1236,43 @@
"cumulative_metric_type_params": {
"type": "object",
"properties": {
"cumulative_type_params": {
"type": "object",
"window": {
"type": "string"
},
"grain_to_date": {
"enum": [
"nanosecond",
"microsecond",
"millisecond",
"second",
"minute",
"hour",
"day",
"week",
"month",
"quarter",
"year"
]
},
"period_agg": {
"enum": [
"first",
"last",
"average"
]
},
"additionalProperties": false
},
"grain_to_date": {
"enum": [
"nanosecond",
"microsecond",
"millisecond",
"second",
"minute",
"hour",
"day",
"week",
"month",
Expand Down Expand Up @@ -1401,11 +1478,23 @@
"properties": {
"time_granularity": {
"enum": [
"NANOSECOND",
"MICROSECOND",
"MILLISECOND",
"SECOND",
"MINUTE",
"HOUR",
"DAY",
"WEEK",
"MONTH",
"QUARTER",
"YEAR",
"nanosecond",
"microsecond",
"millisecond",
"second",
"minute",
"hour",
"day",
"week",
"month",
Expand Down
Loading