It seems like ... throws an error in v1 on Java 21+ when used in xt/q - apart from rewriting the query to avoid ... are there any other workarounds/fixes?
Hey again, sorry for the delayed response. That's right, XTDB 1.x doesn't support the full range of find specs, see https://github.com/xtdb/xtdb/issues/1449
Hey @k.neo20030816 what's the error you're seeing? Is this specifically during destructuring? If you can share a full 'broken' example that would be great. Did you test with an earlier Java and observe it working how you expect?
I rechecked and it seems like a me error, sorry; the ClassFormatError arose because my query builder was trying to put [[?eid ...]] in :find. No error if you put it under :in as a collection bind. Am I right to understand this is valid in Datomic/Datascript as a find-coll expression but not in XTDB? Like in the following syntax:
(xt/q (xt/db (get-xtdb))
'{:find [[?e ...]]
:in [[cpdl-type]]
:where [[?e :cpdl/type ?t]
[(clojure.core/isa? ?t cpdl-type)]]}
[:cpdl/agent])
; Syntax error (ClassFormatError) compiling fn* at (.calva/repl.calva-repl:350:1).
; Illegal field name "..." in class scuttle/server$eval78488$fn__78489