In this lab, we will utilize Redshift Spectrum to create several tables from data stored in S3, and then test to ensure we are able to perform queries that include joins of the tables we have created.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Inspect the Lab Environment
Use the AWS Web Console to investigate the lab environment. You should find an S3 bucket named
users-data-<ACCOUNT_NUMBER>
, which contains a single JSON file as well as a single node Redshift cluster.We recommend downloading and inspecting the JSON data, as you will need to write SQL pertinent to this data to create your Redshift Spectrum tables.
- Create the Redshift Spectrum Tables
Using either the Redshift web console query editor or the client of your choosing, create the 5 requested Redshift Spectrum tables.
- Test Your Newly Created Redshift Spectrum Tables
Using either the Redshift web console query editor or the client of your choosing, run the supplied test query to ensure your tables are correctly formed and it is possible to perform joins between them.