Hey all - we’ve released another snapshot of the XT2 early access:
- SQL: built-in columns now accessible through
_id
,_valid_from
etc (rather thanxt$id
,xt$valid_from
) - they remain:xt/id
in Clojure. - XTQL: we’ve removed support for XTQL from the Java/Kotlin and JSON API. Openly, this didn’t fulfil the promises we wanted it to, it wasn’t nearly as elegant to use from any other language as it is using Clojure’s s-exprs, and the feedback we received from outside the Clojure community was largely that people would much prefer to use existing knowledge and familiar tooling - fair enough!
- Pgwire:
- As part of our ongoing schema inference work, columns that only contain one data-type are now returned as such - e.g. a column containing only integers will now be returned as integers.
- We’ve added the ability to start the server on any available port - pass it
:port 0
and then callnode.getPgPort()
/(pgw/pg-port node)
to get the assigned port. Useful for test fixtures where you’re creating a new in-memory XTDB node for every test.
- … as well as a good handful of bugfixes, of course.
As always, let us know if you run into any issues or have any questions!
Cheers,
XT Team