Skip to content

Instantly share code, notes, and snippets.

@ebendutoit
Created March 25, 2019 07:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ebendutoit/b160b66f3ba4073686d277524d210b90 to your computer and use it in GitHub Desktop.
Save ebendutoit/b160b66f3ba4073686d277524d210b90 to your computer and use it in GitHub Desktop.
BigQuery schema and rows result
{
"schema": {
"fields": [
{
"name": "Name",
"type": "STRING",
"mode": "NULLABLE"
},
{
"name": "Address",
"type": "RECORD",
"mode": "REPEATED",
"fields": [
{
"name": "street",
"type": "STRING",
"mode": "NULLABLE"
},
{
"name": "city",
"type": "STRING",
"mode": "NULLABLE"
}
]
}
]
},
"rows": [
{
"f": [
{
"v": "Peter"
},
{
"v": [
{
"v": {
"f": [
{
"v": "street1"
},
{
"v": "city1"
}
]
}
},
{
"v": {
"f": [
{
"v": "street2"
},
{
"v": "city2"
}
]
}
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment