-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8a41b9c
commit 531a8d6
Showing
2 changed files
with
262 additions
and
48 deletions.
There are no files selected for viewing
39 changes: 39 additions & 0 deletions
39
academic_observatory_workflows/database/schema/qa_checks/qa_table.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
[ | ||
{ | ||
"name": "full_table_id", | ||
"type": "STRING", | ||
"mode": "RECORD", | ||
"fields": [ | ||
{ | ||
"name": "sample_date", | ||
"description": "Date of the table (shard-date/date created)", | ||
"type": "DATE", | ||
"mode": "REQURIED" | ||
}, | ||
{ | ||
"name": "primary_key", | ||
"description": "Array of primary keys that are used to identify records.", | ||
"type": "STRING", | ||
"mode": "REPEATED" | ||
}, | ||
{ | ||
"name": "row_count", | ||
"description": "Number of rows in the table.", | ||
"type": "INTEGER", | ||
"mode": "REQURIED" | ||
}, | ||
{ | ||
"name": "distinct_records", | ||
"description": "Number of distinct records in the table, based off of 'primary_key'.", | ||
"type": "INTEGER", | ||
"mode": "REQURIED" | ||
}, | ||
{ | ||
"name": "no_primary_key", | ||
"description": "Number of records that do not have an entryunder 'primary_key' (None or nulls).", | ||
"type": "INTEGER", | ||
"mode": "REQURIED" | ||
} | ||
] | ||
} | ||
] |
Oops, something went wrong.