Fork me on GitHub
#xtdb
<
2020-08-19
>
mauricio.szabo14:08:10

Hi, we just found an issue: if we send an :crux.db/id that's and Integer, crux doesn't transact: for example, this last query returns an empty set:

(def my-node
  (crux/start-node
    {:crux.node/topology ['crux.standalone/topology]}))

(crux/submit-tx my-node [[:crux.tx/put
                          {:crux.db/id (int 10)
                           :name "Foo Bar"}]])

(crux/q (crux/db my-node)
        '{:find [e]
          :where [[e :name _]]})

👀 3
refset14:08:39

yes, thanks for the report 🙂 Are you able to use Longs instead for the time being?

mauricio.szabo15:08:44

Yes, I am 🙂.

🙏 3
Ian Fernandez14:08:37

Hi, same issue reported by @mauricio.szabo

jarohen14:08:33

thanks 🙂 we'll take a look

parrot 6