Skip to content

Commit

Permalink
fix bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
stepansergeevitch committed Dec 24, 2024
1 parent b7cf68f commit 7cd0d7c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions project.clj
Original file line number Diff line number Diff line change
@@ -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))

Expand Down Expand Up @@ -27,7 +27,7 @@
])

:dependencies
[[io.firebolt/firebolt-jdbc "3.2.0"]]
[[io.firebolt/firebolt-jdbc "3.1.0"]]

:repositories [["project" "file:repo"]]

Expand All @@ -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
Expand Down
3 changes: 1 addition & 2 deletions src/metabase/driver/firebolt.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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)))

Expand Down

0 comments on commit 7cd0d7c

Please sign in to comment.