Skip to content

Commit

Permalink
Update run-results v6 to include new BatchResults object and `Parti…
Browse files Browse the repository at this point in the history
…alSuccess` type (#61)
  • Loading branch information
QMalcolm authored Sep 26, 2024
1 parent 7a63a8f commit d3a0bb3
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 4 deletions.
54 changes: 51 additions & 3 deletions dbt/run-results/v6.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"dbt_version": {
"type": "string",
"default": "1.8.0a1"
"default": "1.9.0a1"
},
"generated_at": {
"type": "string"
Expand Down Expand Up @@ -54,7 +54,8 @@
"enum": [
"success",
"error",
"skipped"
"skipped",
"partial success"
]
},
{
Expand Down Expand Up @@ -178,6 +179,53 @@
"type": "null"
}
]
},
"batch_results": {
"anyOf": [
{
"type": "object",
"title": "BatchResults",
"properties": {
"successful": {
"type": "array",
"items": {
"type": "array",
"prefixItems": [
{
"type": "string"
},
{
"type": "string"
}
],
"maxItems": 2,
"minItems": 2
}
},
"failed": {
"type": "array",
"items": {
"type": "array",
"prefixItems": [
{
"type": "string"
},
{
"type": "string"
}
],
"maxItems": 2,
"minItems": 2
}
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -213,4 +261,4 @@
"elapsed_time"
],
"$id": "https://schemas.getdbt.com/dbt/run-results/v6.json"
}
}
2 changes: 1 addition & 1 deletion dbt/run-results/v6/index.html

Large diffs are not rendered by default.

0 comments on commit d3a0bb3

Please sign in to comment.