You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.
;; for testing only - run XTDB as a server for production(!)
;; com.xtdb.labs/xtdb-core {:mvn/version "2.0.0-SNAPSHOT"}
;; com.xtdb.labs/xtdb-http-server {:mvn/version "2.0.0-SNAPSHOT"}
;; com.xtdb.labs/xtdb-pgwire-server {:mvn/version "2.0.0-SNAPSHOT"}
;; XTDB API and http client
;; com.xtdb.labs/xtdb-api {:mvn/version "2.0.0-SNAPSHOT"}
;; com.xtdb.labs/xtdb-http-client-clj {:mvn/version "2.0.0-SNAPSHOT"}
;; works fine
com.xtdb/xtdb-api {:mvn/version "2.0.0-SNAPSHOT"}
com.xtdb/xtdb-core {:mvn/version "2.0.0-SNAPSHOT"}
com.xtdb/xtdb-http-server {:mvn/version "2.0.0-SNAPSHOT"}
The text was updated successfully, but these errors were encountered:
Hi @MichaelBBTiger thanks for the report, and for persevering to find the fix! I can confirm that the com.xtdb.labs namespace is now considered deprecated (at least as far as the core of v2 is concerned) - apologies for the confusion - we'll tidy up the examples in due course 🙂
When starting the program, the following error will be reported:
clojure.lang.ExceptionInfo: Conflicting data-reader mapping {:url #object[java.net.URL 0x2b4c1d96 "jar:file:/C:/Users/xlawin/.m2/repository/com/xtdb/xtdb-api/2.0.0-SNAPSHOT/xtdb-api-2.0.0-SNAPSHOT.jar!/data_readers.clj"], :conflict xt/runtime-err, :mappings {xt/runtime-err #'xtdb.error/-runtime-err-reader, xt/interval-ym #'xtdb.serde/interval-ym-reader, xt/interval-mdn #'xtdb.serde/interval-mdn-reader, xt.tx/delete #'xtdb.serde/delete-op-reader, xt.tx/sql #'xtdb.serde/sql-op-reader, xt.tx/xtql #'xtdb.serde/xtql-op-reader, xt.tx/erase #'xtdb.serde/erase-op-reader, xt/interval-dt #'xtdb.serde/interval-dt-reader, xt/period-duration #'xtdb.serde/period-duration-reader, xt/tx-key #'xtdb.serde/tx-key-read-fn, xt.tx/put #'xtdb.serde/put-op-reader, xt/illegal-arg #'xtdb.error/-iae-reader, xt.arrow/type #'xtdb.types/->arrow-type, xt.tx/call #'xtdb.serde/call-op-reader, xt/clj-form #'xtdb.api/->ClojureForm}}
I found that when the dependency is replaced with the com.xtdb/xtdb-api library (like https://github.com/xtdb/sakila-playground), it works fine.
;; for testing only - run XTDB as a server for production(!)
;; com.xtdb.labs/xtdb-core {:mvn/version "2.0.0-SNAPSHOT"}
;; com.xtdb.labs/xtdb-http-server {:mvn/version "2.0.0-SNAPSHOT"}
;; com.xtdb.labs/xtdb-pgwire-server {:mvn/version "2.0.0-SNAPSHOT"}
;; XTDB API and http client
;; com.xtdb.labs/xtdb-api {:mvn/version "2.0.0-SNAPSHOT"}
;; com.xtdb.labs/xtdb-http-client-clj {:mvn/version "2.0.0-SNAPSHOT"}
;; works fine
com.xtdb/xtdb-api {:mvn/version "2.0.0-SNAPSHOT"}
com.xtdb/xtdb-core {:mvn/version "2.0.0-SNAPSHOT"}
com.xtdb/xtdb-http-server {:mvn/version "2.0.0-SNAPSHOT"}
The text was updated successfully, but these errors were encountered: