Top "Amazon-athena" questions

Amazon Athena is a service for running SQL queries against data stored on Amazon S3.

Amazon Athena: no viable alternative at input

While creating a table in Athena; it gives me following exception: no viable alternative at input

amazon-web-services amazon-athena
Presto check if NULL and return default (NVL analog)

Is there any analog of NVL in Presto DB? I need to check if a field is NULL and return …

sql presto amazon-athena
Athena greater than condition in date column

I have the following query that I am trying to run on Athena. SELECT observation_date, COUNT(*) AS count FROM …

sql amazon-web-services amazon-athena presto
Athena date format unable to convert string to date formate

tried the below syntax none of them helped to convert a string type column to date select INVC_,APIDT,APDDT …

date presto amazon-athena
AWS Athena and date_format

I have some issue while formatting a timestamp with Amazon Athena service. select date_format(current_timestamp, 'y') Returns just …

amazon-web-services presto amazon-athena
substr at Amazon Athena

At Amazon Athena, I want to extract only the character string "2017-07-27" from the character string "2017-07-27 12:10:08". SELECT …

amazon-athena presto
Amazon Athena Convert String to Date

I am looking to convert the following string: mmm-dd-yyyy to a date: yyyy-mm-dd e.g Nov-06-2015 to 2015-11-06 …

amazon-athena
Aws Athena - Create external table skipping first row

I'm trying to create an external table on csv files with Aws Athena with the code below but the line …

amazon-athena
Amazon Athena - Converting Timestamp to Date?

Looking at the Date/Time Athena documentation, I don't see a function to do this, which surprises me. The closest …

sql amazon-athena presto
What is difference between s3 select and athena

I am trying to understand what is difference between aws athena service and newly released s3 select (still in preview). …

amazon-web-services amazon-s3 amazon-athena amazon-s3-select