diff --git a/project.clj b/project.clj index a3aeb88bfab40ee54b4123b497e42118215a471b..31c08491da0dedf9b70d6e06f66bca00cad62601 100644 --- a/project.clj +++ b/project.clj @@ -68,8 +68,7 @@ [org.yaml/snakeyaml "1.17"] ; YAML parser (required by liquibase) [org.xerial/sqlite-jdbc "3.8.11.2"] ; SQLite driver !!! DO NOT UPGRADE THIS UNTIL UPSTREAM BUG IS FIXED -- SEE https://github.com/metabase/metabase/issues/3753 !!! [postgresql "9.3-1102.jdbc41"] ; Postgres driver - [io.crate/crate-jdbc "1.13.1"] ; Crate JDBC driver - [io.crate/crate-client "0.56.0"] ; Crate Java client (used by Crate JDBC) + [io.crate/crate-jdbc "2.1.1"] ; Crate JDBC driver [prismatic/schema "1.1.3"] ; Data schema declaration and validation library [ring/ring-jetty-adapter "1.5.0"] ; Ring adapter using Jetty webserver (used to run a Ring server for unit tests) [ring/ring-json "0.4.0"] ; Ring middleware for reading/writing JSON automatically diff --git a/src/metabase/driver/crate.clj b/src/metabase/driver/crate.clj index 7ffad9abedbc368704f3412519372b5886785e3e..7ac916299b13209c2da1f585f834f1406b55e6ed 100644 --- a/src/metabase/driver/crate.clj +++ b/src/metabase/driver/crate.clj @@ -44,7 +44,7 @@ (defn- crate-spec [{:keys [hosts] - :or {hosts "//localhost:4300"} + :or {hosts "//localhost:5432/"} :as opts}] (merge {:classname "io.crate.client.jdbc.CrateDriver" ; must be in classpath :subprotocol "crate" @@ -70,7 +70,7 @@ :date-interval crate-util/date-interval :details-fields (constantly [{:name "hosts" :display-name "Hosts" - :default "//localhost:4300"}]) + :default "//localhost:5432/"}]) :features (comp (u/rpartial set/difference #{:foreign-keys}) sql/features)}) sql/ISQLDriver (merge (sql/ISQLDriverDefaultsMixin)