Skip to content
Snippets Groups Projects
Unverified Commit 060e6d46 authored by Cal Herries's avatar Cal Herries Committed by GitHub
Browse files

Add back describe-database test coverage for redshift (#40446)

parent f2960b1f
No related branches found
No related tags found
No related merge requests found
......@@ -45,10 +45,12 @@
"All SQL JDBC drivers that use the default SQL JDBC implementation of `describe-database`. (As far as I know, this is
all of them.)"
[]
(set
(filter
#(identical? (get-method driver/describe-database :sql-jdbc) (get-method driver/describe-database %))
(descendants driver/hierarchy :sql-jdbc))))
(conj (set
(filter
#(identical? (get-method driver/describe-database :sql-jdbc) (get-method driver/describe-database %))
(descendants driver/hierarchy :sql-jdbc)))
;; redshift wraps the default implementation, but additionally filters tables according to the database name
:redshift))
(deftest fast-active-tables-test
(is (= ["CATEGORIES" "CHECKINS" "ORDERS" "PEOPLE" "PRODUCTS" "REVIEWS" "USERS" "VENUES"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment