From the course: Learning Amazon Athena
Unlock the full course today
Join today to access over 23,200 courses taught by industry experts.
Use Amazon Athena queries to filter through CSV data - Amazon Web Services (AWS) Tutorial
From the course: Learning Amazon Athena
Use Amazon Athena queries to filter through CSV data
- [Instructor] Let's filter through the CSV data we have using Athena. The first thing we're going to do is open a new query tab and we're going to learn about CTAS. CTAS is the create table as select statement. So to create a table in Athena from Topsy Turvy Cakes supposing we wanted to create an employee table we would say create table employee as select. So let's highlight our select statement just to test it out and see if it runs. Okay, you see the select statement works, that means it's likely our create table statement should also work using this data. So create table employee with all of these columns from Topsy Turvy Cakes. So let's run the entire thing and it says query successful. We can also see the employee table appears on the left. Now I also want to show you something I think is pretty cool if you're working in Athena, you can actually change the theme of what you're seeing here. So there's a settings…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
What is AWS Glue?7m 57s
-
(Locked)
Create an AWS Glue Crawler to organize CSV data10m 26s
-
(Locked)
Use Amazon Athena with an AWS Glue Crawler4m 46s
-
(Locked)
Use Amazon Athena queries to filter through CSV data6m 42s
-
(Locked)
Challenge: Analyze a CSV with Athena2m 16s
-
(Locked)
Solution: Analyze a CSV with Athena12m 49s
-
(Locked)
-
-