Skip to content

Spring Boot 2 Project with Athena JDBC access using the JDBC Template. It uses the latest Athena JDBC Driver (for Java 8).

Notifications You must be signed in to change notification settings

gemaxim/athenajdbc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

athenajdbc

Spring Boot 2 Project with Athena JDBC access using the JDBC Template. It uses the latest Athena JDBC Driver (for Java 8): AthenaJDBC42.

Configuration

  • Edit application.yml and set the AWS region

spring: datasource:
url: jdbc:awsathena://AwsRegion=[REGION]

  • Edit AthenaJdbcConfig.java and set the S3 Bucket where your query results should be saved

properties.put("s3_staging_dir", "S3 BUCKET WHERE THE RESULTS WILL BE SAVED"); // Line 19

The AWS credentials are supposed to be configured on your system.

About

Spring Boot 2 Project with Athena JDBC access using the JDBC Template. It uses the latest Athena JDBC Driver (for Java 8).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%