Skip to content

Commit

Permalink
resolve conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
dave-connors-3 committed Oct 31, 2023
2 parents e1b5dc5 + 13831bd commit 7f26924
Show file tree
Hide file tree
Showing 8 changed files with 103 additions and 4 deletions.
33 changes: 33 additions & 0 deletions schemas/1.5/dbt_project-1.5.json
Original file line number Diff line number Diff line change
Expand Up @@ -238,12 +238,18 @@
"+enabled": {
"$ref": "#/$defs/boolean_or_jinja_string"
},
"+group": {
"$ref": "#/$defs/group"
},
"+treat_null_values_as_zero": {
"$ref": "#/$defs/boolean_or_jinja_string"
},
"enabled": {
"$ref": "#/$defs/boolean_or_jinja_string"
},
"group": {
"$ref": "#/$defs/group"
},
"treat_null_values_as_zero": {
"$ref": "#/$defs/boolean_or_jinja_string"
}
Expand Down Expand Up @@ -295,6 +301,9 @@
"+grants": {
"$ref": "#/$defs/grants"
},
"+group": {
"$ref": "#/$defs/group"
},
"+hours_to_expiration": {
"$ref": "#/$defs/hours_to_expiration"
},
Expand Down Expand Up @@ -371,6 +380,9 @@
"grants": {
"$ref": "#/$defs/grants"
},
"group": {
"$ref": "#/$defs/group"
},
"hours_to_expiration": {
"$ref": "#/$defs/hours_to_expiration"
},
Expand Down Expand Up @@ -460,6 +472,9 @@
"+grants": {
"$ref": "#/$defs/grants"
},
"+group": {
"$ref": "#/$defs/group"
},
"+meta": {
"$ref": "#/$defs/meta"
},
Expand Down Expand Up @@ -493,6 +508,9 @@
"grants": {
"$ref": "#/$defs/grants"
},
"group": {
"$ref": "#/$defs/group"
},
"meta": {
"$ref": "#/$defs/meta"
},
Expand Down Expand Up @@ -548,6 +566,9 @@
"+grants": {
"$ref": "#/$defs/grants"
},
"+group": {
"$ref": "#/$defs/group"
},
"+meta": {
"$ref": "#/$defs/meta"
},
Expand Down Expand Up @@ -596,6 +617,9 @@
"grants": {
"$ref": "#/$defs/grants"
},
"group": {
"$ref": "#/$defs/group"
},
"meta": {
"$ref": "#/$defs/meta"
},
Expand Down Expand Up @@ -708,6 +732,9 @@
"+fail_calc": {
"$ref": "#/$defs/fail_calc"
},
"+group": {
"$ref": "#/$defs/group"
},
"+limit": {
"$ref": "#/$defs/limit"
},
Expand Down Expand Up @@ -738,6 +765,9 @@
"fail_calc": {
"$ref": "#/$defs/fail_calc"
},
"group": {
"$ref": "#/$defs/group"
},
"limit": {
"$ref": "#/$defs/limit"
},
Expand Down Expand Up @@ -810,6 +840,9 @@
},
"additionalProperties": false
},
"group": {
"type": "string"
},
"hours_to_expiration": {
"type": "number",
"description": "Configuration specific to BigQuery adapter used to set an expiration delay (in hours) to a table."
Expand Down
19 changes: 17 additions & 2 deletions schemas/1.5/dbt_yml_files-1.5.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@
"type": "boolean"
}
}
},
"group": {
"$ref": "#/$defs/group"
}
}
}
Expand Down Expand Up @@ -219,7 +222,7 @@
"$ref": "#/$defs/boolean_or_jinja_string"
},
"group": {
"type": "string"
"$ref": "#/$defs/group"
}
}
},
Expand Down Expand Up @@ -254,6 +257,9 @@
"additionalProperties": false
}
},
"group": {
"$ref": "#/$defs/group"
},
"label": {
"type": "string"
},
Expand Down Expand Up @@ -326,7 +332,7 @@
}
},
"group": {
"type": "string"
"$ref": "#/$defs/group"
},
"latest_version": {
"type": "number"
Expand Down Expand Up @@ -424,6 +430,9 @@
}
}
},
"group": {
"$ref": "#/$defs/group"
},
"tests": {
"type": "array",
"items": {
Expand Down Expand Up @@ -507,6 +516,9 @@
}
}
},
"group": {
"$ref": "#/$defs/group"
},
"meta": {
"type": "object"
},
Expand Down Expand Up @@ -802,6 +814,9 @@
},
"additionalProperties": false
},
"group": {
"type": "string"
},
"include_exclude": {
"type": "object",
"properties": {
Expand Down
29 changes: 28 additions & 1 deletion schemas/1.6/dbt_project-1.6.json
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,9 @@
"+grant_access_to": {
"$ref": "#/$defs/grant_access_to"
},
"+group": {
"$ref": "#/$defs/group"
},
"+hours_to_expiration": {
"$ref": "#/$defs/hours_to_expiration"
},
Expand Down Expand Up @@ -339,6 +342,9 @@
"grant_access_to": {
"$ref": "#/$defs/grant_access_to"
},
"group": {
"$ref": "#/$defs/group"
},
"hours_to_expiration": {
"$ref": "#/$defs/hours_to_expiration"
},
Expand Down Expand Up @@ -428,6 +434,9 @@
"+grants": {
"$ref": "#/$defs/grants"
},
"+group": {
"$ref": "#/$defs/group"
},
"+meta": {
"$ref": "#/$defs/meta"
},
Expand Down Expand Up @@ -461,6 +470,9 @@
"grants": {
"$ref": "#/$defs/grants"
},
"group": {
"$ref": "#/$defs/group"
},
"meta": {
"$ref": "#/$defs/meta"
},
Expand Down Expand Up @@ -516,6 +528,9 @@
"+grants": {
"$ref": "#/$defs/grants"
},
"+group": {
"$ref": "#/$defs/group"
},
"+meta": {
"$ref": "#/$defs/meta"
},
Expand Down Expand Up @@ -564,6 +579,9 @@
"grants": {
"$ref": "#/$defs/grants"
},
"group": {
"$ref": "#/$defs/group"
},
"meta": {
"$ref": "#/$defs/meta"
},
Expand Down Expand Up @@ -676,6 +694,9 @@
"+fail_calc": {
"$ref": "#/$defs/fail_calc"
},
"+group": {
"$ref": "#/$defs/group"
},
"+limit": {
"$ref": "#/$defs/limit"
},
Expand Down Expand Up @@ -706,6 +727,9 @@
"fail_calc": {
"$ref": "#/$defs/fail_calc"
},
"group": {
"$ref": "#/$defs/group"
},
"limit": {
"$ref": "#/$defs/limit"
},
Expand Down Expand Up @@ -776,7 +800,10 @@
"$ref": "#/$defs/string_or_array_of_strings"
}
},
"additionalProperties": false
"additionalProperties": false
},
"group": {
"type": "string"
},
"hours_to_expiration": {
"type": "number",
Expand Down
17 changes: 16 additions & 1 deletion schemas/1.6/dbt_yml_files-1.6.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@
"type": "boolean"
}
}
},
"group": {
"$ref": "#/$defs/group"
}
}
}
Expand Down Expand Up @@ -196,6 +199,9 @@
"filter": {
"type": "string"
},
"group": {
"$ref": "#/$defs/group"
},
"label": {
"type": "string"
},
Expand Down Expand Up @@ -259,7 +265,7 @@
}
},
"group": {
"type": "string"
"$ref": "#/$defs/group"
},
"latest_version": {
"type": "number"
Expand Down Expand Up @@ -357,6 +363,9 @@
}
}
},
"group": {
"$ref": "#/$defs/group"
},
"tests": {
"type": "array",
"items": {
Expand Down Expand Up @@ -491,6 +500,9 @@
}
}
},
"group": {
"$ref": "#/$defs/group"
},
"meta": {
"type": "object"
},
Expand Down Expand Up @@ -893,6 +905,9 @@
},
"additionalProperties": false
},
"group": {
"type": "string"
},
"include_exclude": {
"type": "object",
"properties": {
Expand Down
2 changes: 2 additions & 0 deletions tests/1.5/valid/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ models:
materialized: table
empty_subdirectory:
another_one:
+group: real
meta:
owner: Tony
contracted_models:
Expand All @@ -61,6 +62,7 @@ models:
jinja_key: "{{ target.name }}"

seeds:
+group: sunflower
test:
+enabled: false
empty_subdirectory:
Expand Down
5 changes: 5 additions & 0 deletions tests/1.6/invalid/dbt_yml_files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ models:
- unique
- not_null

semantic_models:
- model: ref('models')
name: model
group: farmhands_only

metrics:
- name: new_customers
label: New Customers marked 'paying'
Expand Down
1 change: 1 addition & 0 deletions tests/1.6/valid/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ models:
materialized: table
empty_subdirectory:
another_one:
+group: real
meta:
owner: Tony
contracted_models:
Expand Down
1 change: 1 addition & 0 deletions tests/1.6/valid/dbt_yml_files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ models:

snapshots:
- name: snapshot_name
group: analytics
description: slowly changing dimension
columns:
- name: id
Expand Down

0 comments on commit 7f26924

Please sign in to comment.