replikativ/datahike

[Bug]: Symbols not compared correctly in queries

Opened this issue · 0 comments

zoren commented

What version of Datahike are you using?

0.4.1481

What version of Java are you using?

11.0.11+9-LTS

What operating system are you using?

macOS

What database EDN configuration are you using?

No config, using vector of facts as input.

Describe the bug

With this query I was expecting [2] as result. Instead I get [2 1].

(d/q '[:find [?e ...]
     :where
     [?e :s b]]
   '[[1 :s a]
     [2 :s b]])

What is the expected behaviour?

[2]

How can the behaviour be reproduced?

The query and source is included above.