This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-08-18
Channels
- # announcements (22)
- # asami (7)
- # babashka (43)
- # beginners (68)
- # biff (2)
- # calva (10)
- # clj-kondo (7)
- # cljdoc (29)
- # clojure (41)
- # clojure-austin (1)
- # clojure-brasil (2)
- # clojure-europe (25)
- # clojure-gamedev (3)
- # clojure-nl (2)
- # clojure-norway (9)
- # clojure-uk (31)
- # clojurescript (3)
- # community-development (7)
- # cursive (3)
- # data-science (4)
- # datomic (17)
- # emacs (30)
- # honeysql (10)
- # hyperfiddle (39)
- # introduce-yourself (1)
- # jobs-discuss (5)
- # kaocha (1)
- # lsp (11)
- # malli (12)
- # pathom (18)
- # pedestal (3)
- # proletarian (2)
- # quil (11)
- # rdf (46)
- # reitit (8)
- # releases (2)
- # shadow-cljs (34)
- # sql (3)
- # squint (10)
- # tools-deps (24)
- # xtdb (10)
Hi! Back to my question a very long time ago about the problems pulling data through the HTTP API. It seems that the culprit is if I have data such as #object[java.time.LocalDate 0x105ac5b7 "2023-08-18"]
– then it fails to parse the EDN properly. What are my options? Coerce it as a string to the storage and parse when pulling back?
Specific error in this case is
Execution error at xtdb.remote-api-client/edn-list->lazy-seq$fn (remote_api_client.clj:23). No reader function for tag object
Looking through the source code I see an option XTDB_ENABLE_JAVA_TIME_PRINT_METHODS
– maybe I should enable that and just do a round-trip…?
Then of course the reader in remote-api should be accomodated to read those in
Clearly I’m missing something since this seems not to be an issue for most…?
Can speculative transactions be nested?
E.g. calling xt/with-tx
on the result of another xt/with-tx
?
Seems like it may not be?
No implementation of method: :latest-completed-tx of protocol:
#'xtdb.db/LatestCompletedTx found for class:
xtdb.with_tx.SpeculativeKvIndexStoreTx
Hey @U5JUDH2UE not currently - but please feel free to add your vote & opinion (use case?) to the open issue https://github.com/xtdb/xtdb/issues/1434 🙂