Working with JSON, Arrays, and Structs in BigQuery




Create a new dataset and table to store the data

Execute the query to see how many unique products were viewed

Execute the query to use the UNNEST() on array field

Create a dataset and a table to ingest JSON data

Execute the query to COUNT how many racers were there in total

Execute the query that will list the total race time for racers whose names begin with R

Execute the query to see which runner ran fastest lap time

Working with JSON, Arrays, and Structs in BigQuery

1 hour 15 minutes 5 Credits


Google Cloud Self-Paced Labs



In this lab you will work in-depth with semi-structured data (ingesting JSON, Array data types) inside of BigQuery. Denormalizing your schema into a single table with nested and repeated fields can yield performance improvements, but the SQL syntax for working with array data can be tricky. You will practice loading, querying, troubleshooting, and unnesting various semi-structured datasets.


  • Get temporary access to the Google Cloud Console.
  • Over 200 labs from beginner to advanced levels.
Join to Start This Lab