Skip to content
Snippets Groups Projects
Unverified Commit 3a757d91 authored by Mark Bastian's avatar Mark Bastian Committed by GitHub
Browse files

Updating redshift driver plus a few other minor versions (#29251)

Minor point version updates, including the redshift driver.
parent 30740938
Branches
Tags
No related merge requests found
......@@ -197,7 +197,7 @@
clj-kondo/clj-kondo {:mvn/version "2023.02.17"} ; this is not for RUNNING kondo, but so we can hack on custom hooks code from the REPL.
cloverage/cloverage {:mvn/version "1.2.4"}
com.gfredericks/test.chuck {:mvn/version "0.2.14"} ; generating strings from regexes (useful with malli)
djblue/portal {:mvn/version "0.36.0"} ; ui for inspecting values
djblue/portal {:mvn/version "0.37.0"} ; ui for inspecting values
io.github.camsaul/humane-are {:mvn/version "1.0.2"}
io.github.metabase/hawk {:sha "45ed36008014f9ac1ea66beb56fb1c4c39f8342b"}
jonase/eastwood {:mvn/version "1.3.0"} ; inspects namespaces and reports possible problems using tools.analyzer
......@@ -613,7 +613,7 @@
;;
;; clojure -M:liquibase dbDoc target/liquibase
:liquibase
{:extra-deps {ch.qos.logback/logback-classic {:mvn/version "1.4.5"}}
{:extra-deps {ch.qos.logback/logback-classic {:mvn/version "1.4.6"}}
:extra-paths ["dev/src"]
:main-opts ["-m" "dev.liquibase"]}}}
......
......@@ -5,5 +5,5 @@
{"athena" {:url "https://s3.amazonaws.com/maven-athena"}}
:deps
{com.amazonaws/aws-java-sdk-core {:mvn/version "1.12.425"}
{com.amazonaws/aws-java-sdk-core {:mvn/version "1.12.427"}
com.metabase/athena-jdbc {:mvn/version "2.0.35"}}}
......@@ -7,4 +7,4 @@
com.google.oauth-client/google-oauth-client {:mvn/version "1.34.1"}
;; for some reason, Google stopped depending on google-http-client-jackson2 from google-api-client somewhere between
;; 1.30.7 and 1.32.1, so we must explicitly bring it in because the google driver uses it directly
com.google.http-client/google-http-client-jackson2 {:mvn/version "1.43.0"}}}
com.google.http-client/google-http-client-jackson2 {:mvn/version "1.43.1"}}}
......@@ -5,4 +5,4 @@
{"redshift" {:url "https://s3.amazonaws.com/redshift-maven-repository/release"}}
:deps
{com.amazon.redshift/redshift-jdbc42 {:mvn/version "2.1.0.10"}}}
{com.amazon.redshift/redshift-jdbc42 {:mvn/version "2.1.0.12"}}}
......@@ -244,7 +244,7 @@
(deftest redshift-lbv-sync-error-test
(mt/test-driver
:redshift
(testing "Late-binding view with with data types that cause a JDBC error can still be synced succesfully (#21215)"
(testing "Late-binding view with with data types that cause a JDBC error can still be synced successfully (#21215)"
(let [db-details (tx/dbdef->connection-details :redshift nil nil)
view-nm "weird_late_binding_view"
qual-view-nm (str redshift.test/session-schema-name "." view-nm)]
......@@ -264,9 +264,9 @@
view-nm))
(let [table-id (db/select-one-id Table :db_id (u/the-id database), :name view-nm)]
;; and its columns' :base_type should have been identified correctly
(is (= [{:name "case_when_numeric_inc_nulls", :database_type "numeric", :base_type :type/Decimal}
{:name "raw_null", :database_type "varchar", :base_type :type/Text}
{:name "raw_var", :database_type "varchar", :base_type :type/Text}]
(is (= [{:name "case_when_numeric_inc_nulls", :database_type "numeric", :base_type :type/Decimal}
{:name "raw_null", :database_type "varchar", :base_type :type/Text}
{:name "raw_var", :database_type "character varying(5)", :base_type :type/Text}]
(db/select [Field :name :database_type :base_type] :table_id table-id {:order-by [:name]}))))
(finally
(redshift.test/execute! (str "DROP VIEW IF EXISTS %s;")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment