Skip to content

Commit

Permalink
update schemas and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dave-connors-3 committed Oct 31, 2023
1 parent 13831bd commit e3f2a4a
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 0 deletions.
10 changes: 10 additions & 0 deletions schemas/1.5/dbt_project-1.5.json
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,10 @@
},
"additionalProperties": false
},
"invalidate_hard_deletes": {
"type": "boolean",
"description": "Configuration specific to snapshots used to invalidate hard deletes."
},
"jinja_string": {
"type": "string",
"pattern": "\\{\\{.*\\}\\}"
Expand Down Expand Up @@ -557,6 +561,9 @@
"+group": {
"$ref": "#/$defs/group"
},
"+invalidate_hard_deletes": {
"$ref": "#/$defs/invalidate_hard_deletes"
},
"+meta": {
"$ref": "#/$defs/meta"
},
Expand Down Expand Up @@ -608,6 +615,9 @@
"group": {
"$ref": "#/$defs/group"
},
"invalidate_hard_deletes": {
"$ref": "#/$defs/invalidate_hard_deletes"
},
"meta": {
"$ref": "#/$defs/meta"
},
Expand Down
10 changes: 10 additions & 0 deletions schemas/1.6/dbt_project-1.6.json
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,10 @@
},
"additionalProperties": false
},
"invalidate_hard_deletes": {
"type": "boolean",
"description": "Configuration specific to snapshots used to invalidate hard deletes."
},
"jinja_string": {
"type": "string",
"pattern": "\\{\\{.*\\}\\}"
Expand Down Expand Up @@ -519,6 +523,9 @@
"+group": {
"$ref": "#/$defs/group"
},
"+invalidate_hard_deletes": {
"$ref": "#/$defs/invalidate_hard_deletes"
},
"+meta": {
"$ref": "#/$defs/meta"
},
Expand Down Expand Up @@ -570,6 +577,9 @@
"group": {
"$ref": "#/$defs/group"
},
"invalidate_hard_deletes": {
"$ref": "#/$defs/invalidate_hard_deletes"
},
"meta": {
"$ref": "#/$defs/meta"
},
Expand Down
10 changes: 10 additions & 0 deletions schemas/dbt_project.json
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,10 @@
},
"additionalProperties": false
},
"invalidate_hard_deletes": {
"type": "boolean",
"description": "Configuration specific to snapshots used to invalidate hard deletes."
},
"jinja_string": {
"type": "string",
"pattern": "\\{\\{.*\\}\\}"
Expand Down Expand Up @@ -527,6 +531,9 @@
"+grants": {
"$ref": "#/$defs/grants"
},
"+invalidate_hard_deletes": {
"$ref": "#/$defs/invalidate_hard_deletes"
},
"+meta": {
"$ref": "#/$defs/meta"
},
Expand Down Expand Up @@ -575,6 +582,9 @@
"grants": {
"$ref": "#/$defs/grants"
},
"invalidate_hard_deletes": {
"$ref": "#/$defs/invalidate_hard_deletes"
},
"meta": {
"$ref": "#/$defs/meta"
},
Expand Down
1 change: 1 addition & 0 deletions tests/1.5/valid/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ tests:
snapshots:
test:
+target_schema: schema
+invalidate_hard_deletes: true
+target_database: database
+grants:
select: ["role"]
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 @@ -79,6 +79,7 @@ snapshots:
test:
+target_schema: schema
+target_database: database
+invalidate_hard_deletes: true
+grants:
select: ['role']

Expand Down

0 comments on commit e3f2a4a

Please sign in to comment.