From 6ae43d47e86812940ffe576616a837f62777c492 Mon Sep 17 00:00:00 2001 From: "Damon P. Cortesi" Date: Sat, 1 Aug 2020 22:15:16 -0700 Subject: [PATCH] Upgrade Athena JDBC driver to 2.0.13 --- .circleci/config.yml | 4 ++-- README.md | 6 +++--- project.clj | 8 ++++---- resources/metabase-plugin.yaml | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index dc3d0de..f02c79c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -34,8 +34,8 @@ jobs: - run: name: Download Athena driver command: | - mkdir -p ~/.m2/repository/athena/athena-jdbc/2.0.9/ - wget -O ~/.m2/repository/athena/athena-jdbc/2.0.9/athena-jdbc-2.0.9.jar https://s3.amazonaws.com/athena-downloads/drivers/JDBC/SimbaAthenaJDBC_2.0.9/AthenaJDBC42_2.0.9.jar + mkdir -p ~/.m2/repository/athena/athena-jdbc/2.0.13/ + wget -O ~/.m2/repository/athena/athena-jdbc/2.0.13/athena-jdbc-2.0.13.jar https://s3.amazonaws.com/athena-downloads/drivers/JDBC/SimbaAthenaJDBC_2.0.13/AthenaJDBC42_2.0.13.jar - run: name: Build and install Metabase driver components working_directory: metabase diff --git a/README.md b/README.md index 8e24a84..d3fa01b 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ You can provide additional options if necessary. For example, to disable result Result set streaming is a performance optimization that streams results from Athena rather than using pagination logic, however it requries outbound access to TCP port 444 and not all organizations allow that. Other options can be found in the "Driver Configuration Options" section of the [Athena JDBC Driver Installation and Configuration -Guide](https://s3.amazonaws.com/athena-downloads/drivers/JDBC/SimbaAthenaJDBC_2.0.9/docs/Simba+Athena+JDBC+Driver+Install+and+Configuration+Guide.pdf). +Guide](https://s3.amazonaws.com/athena-downloads/drivers/JDBC/SimbaAthenaJDBC_2.0.13/docs/Simba+Athena+JDBC+Driver+Install+and+Configuration+Guide.pdf). ## Contributing @@ -78,8 +78,8 @@ I'm not familiar enough with `lein` to know if there is a better way to include 2. Download the Athena driver into your local Maven repo ```shell - mkdir -p ~/.m2/repository/athena/athena-jdbc/2.0.9/ - wget -O ~/.m2/repository/athena/athena-jdbc/2.0.9/athena-jdbc-2.0.9.jar https://s3.amazonaws.com/athena-downloads/drivers/JDBC/SimbaAthenaJDBC_2.0.9/AthenaJDBC42_2.0.9.jar + mkdir -p ~/.m2/repository/athena/athena-jdbc/2.0.13/ + wget -O ~/.m2/repository/athena/athena-jdbc/2.0.13/athena-jdbc-2.0.13.jar https://s3.amazonaws.com/athena-downloads/drivers/JDBC/SimbaAthenaJDBC_2.0.13/AthenaJDBC42_2.0.13.jar ``` 3. Clone this repo diff --git a/project.clj b/project.clj index 4cef96c..80dc1da 100644 --- a/project.clj +++ b/project.clj @@ -1,13 +1,13 @@ -(defproject metabase/athena-driver "1.0.0-athena-jdbc-2.0.9" +(defproject metabase/athena-driver "1.0.0-athena-jdbc-2.0.13" :min-lein-version "2.5.0" :dependencies - [[athena/athena-jdbc "2.0.9"]] + [[athena/athena-jdbc "2.0.13"]] ; :repositories -; [["athena" {:url "https://s3.amazonaws.com/athena-downloads/drivers/JDBC/SimbaAthenaJDBC_2.0.9/AthenaJDBC42_2.0.9.jar"}]] +; [["athena" {:url "https://s3.amazonaws.com/athena-downloads/drivers/JDBC/SimbaAthenaJDBC_2.0.13/AthenaJDBC42_2.0.13.jar"}]] ; TODO: Download from source URL -; For now, you have to download the jar above into ~/.m2/repository/athena/athena-jdbc/2.0.9/athena-jdbc-2.0.9.jar +; For now, you have to download the jar above into ~/.m2/repository/athena/athena-jdbc/2.0.13/athena-jdbc-2.0.13.jar :aliases {"test" ["with-profile" "+unit_tests" "test"]} diff --git a/resources/metabase-plugin.yaml b/resources/metabase-plugin.yaml index f155f4c..ce81d20 100644 --- a/resources/metabase-plugin.yaml +++ b/resources/metabase-plugin.yaml @@ -1,7 +1,7 @@ # Complete list of options here: https://github.com/metabase/metabase/wiki/Metabase-Plugin-Manifest-Reference info: name: Metabase Athena Driver - version: 1.0.0-athena-jdbc-2.0.9 + version: 1.0.0-athena-jdbc-2.0.13 description: Allows Metabase to connect to AWS Athena databases. Community Supported driver. driver: name: athena