   (:require [environ.core :refer [env]]
             metabase.driver.crate
             (metabase.test.data [generic-sql :as generic]
-                                [interface :as i]))
+                                [interface :as i])
+            [metabase.driver.generic-sql :as sql]
+            [clojure.java.jdbc :as jdbc])
   (:import metabase.driver.crate.CrateDriver))
 
 (def ^:private ^:const field-base-type->sql-type

   :TextField       "string"
   :TimeField       "timestamp"})

(defn- database->connection-details [_ _ {:keys [_ _]}]
  (merge {:host         "localhost"
          :port         4300}))

          :pk-sql-type               (constantly "integer primary key")
          :create-db-sql             (constantly nil)
          :add-fk-sql                (constantly nil)
          :drop-db-if-exists-sql     (constantly nil)
          :load-data!                (make-load-data-fn)})
  i/IDatasetLoader
  (merge generic/IDatasetLoaderMixin
         {:database->connection-details database->connection-details
