Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Google

Working with JSON, Arrays, and Structs in BigQuery

Google via Google Cloud Skills Boost

Overview

In this lab you will work with semi-structured data (ingesting JSON, Array data types) inside of BigQuery. You will practice loading, querying, troubleshooting, and unnesting various semi-structured datasets.

Syllabus

  • GSP416
  • Overview
  • Setup
  • Task 1. Create a new dataset to store the tables
  • Task 2. Practice working with arrays in SQL
  • Task 3. Creating your own arrays with ARRAY_AGG()
  • Task 4. Querying datasets that already have arrays
  • Task 5. Introduction to STRUCTs
  • Task 6. Practice with STRUCTs and arrays
  • Task 7. Lab question: STRUCT()
  • Task 8. Lab question: Unpacking arrays with UNNEST( )
  • Task 9. Filtering within array values
  • Congratulations!

Reviews

Start your review of Working with JSON, Arrays, and Structs in BigQuery

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.