My AWS Notebook
Use SHOW tables
on the Query Editor can see all tables.
CREATE OR REPLACE VIEW simple_report AS
SELECT
user_id
, team_id
, date_diff('second', date_parse(start_time, '%Y-%m-%dT%H:%i:%s.%fZ'), date_parse(stop_time, '%Y-%m-%dT%H:%i:%s.%fZ')) AS duration
FROM simple_table
WHERE team_id = 'awesome';
See Simplify Amazon DynamoDB data extraction and analysis by using AWS Glue and Amazon Athena.
More
PARTITIONED BY
clause in the CREATE TABLE
statement.