Amazon Athena User Guide
Table of Contents
What is Amazon Athena? .................................................................................................................... 1
When should I use Athena? ......................................................................................................... 1
Accessing Athena ....................................................................................................................... 1
Understanding Tables, Databases, and the Data Catalog ................................................................. 2
Release Notes .................................................................................................................................... 4
February 2, 2018 ....................................................................................................................... 4
January 19, 2018 ....................................................................................................................... 4
November 13, 2017 ................................................................................................................... 5
November 1, 2017 ..................................................................................................................... 5
October 19, 2017 ....................................................................................................................... 5
October 3, 2017 ........................................................................................................................ 6
September 25, 2017 ................................................................................................................... 6
August 14, 2017 ........................................................................................................................ 6
August 4, 2017 .......................................................................................................................... 6
June 22, 2017 ........................................................................................................................... 6
June 8, 2017 ............................................................................................................................. 6
May 19, 2017 ............................................................................................................................ 6
Improvements .................................................................................................................... 7
Bug Fixes .......................................................................................................................... 7
April 4, 2017 ............................................................................................................................. 7
Features ............................................................................................................................ 7
Improvements .................................................................................................................... 7
Bug Fixes .......................................................................................................................... 7
March 24, 2017 ......................................................................................................................... 8
Features ............................................................................................................................ 8
Improvements .................................................................................................................... 9
Bug Fixes .......................................................................................................................... 9
February 20, 2017 ...................................................................................................................... 9
Features ............................................................................................................................ 9
Improvements .................................................................................................................. 11
Setting Up ....................................................................................................................................... 12
Sign Up for AWS ...................................................................................................................... 12
To create an AWS account ................................................................................................. 12
Create an IAM User .................................................................................................................. 12
To create a group for administrators ................................................................................... 12
To create an IAM user for yourself, add the user to the administrators group, and create a
password for the user ....................................................................................................... 13
Attach Managed Policies for Using Athena .................................................................................. 13
Getting Started ................................................................................................................................ 14
Prerequisites ............................................................................................................................ 14
Step 1: Create a Database ......................................................................................................... 14
Step 2: Create a Table .............................................................................................................. 15
Step 3: Query Data .................................................................................................................. 16
Integration with AWS Glue ................................................................................................................ 18
Upgrading to the AWS Glue Data Catalog Step-by-Step ................................................................ 19
Step 1 - Allow a User to Perform the Upgrade ..................................................................... 19
Step 2 - Update Customer-Managed/Inline Policies Associated with Athena Users ..................... 19
Step 3 - Choose Upgrade in the Athena Console .................................................................. 20
FAQ: Upgrading to the AWS Glue Data Catalog ............................................................................ 21
Why should I upgrade to the AWS Glue Data Catalog? .......................................................... 21
Are there separate charges for AWS Glue? ........................................................................... 22
Upgrade process FAQ ........................................................................................................ 22
Best Practices When Using Athena with AWS Glue ........................................................................ 23
Database, Table, and Column Names .................................................................................. 24
iii