Queries with joins do not work on collections
Open
Nobody has claimed this yet.
- Dominant language
- Clojure
- Stars
- 5.8k
- Forks
- 318
- PR merge metrics
- No merged PRs in 30d
Description
'[:in $ ?now ?after?
:find ?e
:where [?e :campaign/id]
[?e :starts-at ?start]
[?e :finishes-at ?finish]
[(?after? ?now ?start)]
[(?after? ?finish ?now)]]
get you No protocol IIndexAccess.-datoms defined for type cljs.core/PersistentVector
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with the Datalog query shown in the report, then trace the collection handling around the IIndexAccess.-datoms protocol error. Done means the query with joins on collections executes without the reported PersistentVector protocol exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clojure
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100