From 7cd0d7cb7d07473bb4e3271e7adc9c18731b0a2d Mon Sep 17 00:00:00 2001 From: Stepan Burlakov Date: Tue, 24 Dec 2024 17:05:36 +0200 Subject: [PATCH] fix bump version --- project.clj | 8 ++++---- src/metabase/driver/firebolt.clj | 3 +-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/project.clj b/project.clj index e5341b2..2602f11 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(def version "3.1.0") +(def version "3.2.0") (def uberjar-name (str "firebolt.metabase-driver-" version ".jar")) (def uberjar-file (str "target/uberjar/" uberjar-name)) @@ -27,7 +27,7 @@ ]) :dependencies - [[io.firebolt/firebolt-jdbc "3.2.0"]] + [[io.firebolt/firebolt-jdbc "3.1.0"]] :repositories [["project" "file:repo"]] @@ -40,12 +40,12 @@ "TMP_DIR=\\$(mktemp -d) && \\ wget -nv https://downloads.metabase.com/\\$METABASE_VERSION/metabase.jar -O \\$TMP_DIR/metabase.jar && \\ mkdir -p repo && \\ - mvn deploy:deploy-file -Durl=file:repo -DgroupId=com.firebolt -DartifactId=metabase-core -Dversion=1.40 -Dpackaging=jar -Dfile=\\$TMP_DIR/metabase.jar"]] + mvn deploy:deploy-file -Durl=file:repo -DgroupId=com.firebolt -DartifactId=metabase-core -Dversion=1.50 -Dpackaging=jar -Dfile=\\$TMP_DIR/metabase.jar"]] } :profiles {:provided - {:dependencies [[com.firebolt/metabase-core "1.40"]]} + {:dependencies [[com.firebolt/metabase-core "1.50"]]} :uberjar {:auto-clean true diff --git a/src/metabase/driver/firebolt.clj b/src/metabase/driver/firebolt.clj index 2528035..9fbc4f5 100644 --- a/src/metabase/driver/firebolt.clj +++ b/src/metabase/driver/firebolt.clj @@ -5,7 +5,6 @@ [clojure.java.jdbc :as jdbc] [java-time.api :as t] [metabase.driver :as driver] - [metabase.driver.common :as driver.common] [metabase.driver.sql-jdbc.sync.describe-table :as sql-jdbc.describe-table] [metabase.driver.sql-jdbc [common :as sql-jdbc.common] @@ -176,7 +175,7 @@ (defmethod sql.qp/add-interval-honeysql-form :firebolt [_ dt amount unit] [[:date_add (name unit) (int amount) dt]]) ; Format a temporal value `t` as a SQL-style literal string, converting time datatype to SQL-style literal string -(defmethod unprepare/unprrepare-value [:firebolt LocalTime] +(defmethod sql.qp/inline-value [:firebolt LocalTime] [_ t] (format "timestamp '%s'" (t/sql-timestamp t)))