forked from MarquezProject/marquez
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract and emit bigquery input schema (MarquezProject#104)
* Extract and emit bigquery input schema Signed-off-by: henneberger <[email protected]> * Check for nulls & include debug info Signed-off-by: henneberger <[email protected]> * Add empty property check Signed-off-by: henneberger <[email protected]> Co-authored-by: Willy Lulciuc <[email protected]>
- Loading branch information
1 parent
965a794
commit 9575a17
Showing
3 changed files
with
119 additions
and
6 deletions.
There are no files selected for viewing
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
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,53 @@ | ||
{ | ||
"kind": "bigquery#table", | ||
"etag": "L7YwMYGtkofoiqqF8tXSDA==", | ||
"id": "bigquery-public-data:usa_names.usa_1910_2013", | ||
"selfLink": "https://bigquery.googleapis.com/bigquery/v2/projects/bigquery-public-data/datasets/usa_names/tables/usa_1910_2013", | ||
"tableReference": { | ||
"projectId": "bigquery-public-data", | ||
"datasetId": "usa_names", | ||
"tableId": "usa_1910_2013" | ||
}, | ||
"description": "The table contains the number of applicants for a Social Security card by year of birth and sex. The number of such applicants is restricted to U.S. births where the year of birth, sex, State of birth (50 States and District of Columbia) are known, and where the given name is at least 2 characters long.\n\nsource: http://www.ssa.gov/OACT/babynames/limits.html", | ||
"schema": { | ||
"fields": [ | ||
{ | ||
"name": "state", | ||
"type": "STRING", | ||
"mode": "NULLABLE", | ||
"description": "2-digit state code" | ||
}, | ||
{ | ||
"name": "gender", | ||
"type": "STRING", | ||
"mode": "NULLABLE", | ||
"description": "Sex (M=male or F=female)" | ||
}, | ||
{ | ||
"name": "year", | ||
"type": "INTEGER", | ||
"mode": "NULLABLE", | ||
"description": "4-digit year of birth" | ||
}, | ||
{ | ||
"name": "name", | ||
"type": "STRING", | ||
"mode": "NULLABLE", | ||
"description": "Given name of a person at birth" | ||
}, | ||
{ | ||
"name": "number", | ||
"type": "INTEGER", | ||
"mode": "NULLABLE", | ||
"description": "Number of occurrences of the name" | ||
} | ||
] | ||
}, | ||
"numBytes": "171432506", | ||
"numLongTermBytes": "171432506", | ||
"numRows": "5552452", | ||
"creationTime": "1457744542425", | ||
"lastModifiedTime": "1457746213452", | ||
"type": "TABLE", | ||
"location": "US" | ||
} |
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