[query] Write a test for unattributed integers and FTS data #145

Open
opened 2020-08-06 16:55:40 +00:00 by gburd · 0 comments
gburd commented 2020-08-06 16:55:40 +00:00 (Migrated from github.com)

We haven't yet reimplemented FTS, but when we do, I want to make sure query translation doesn't break!

We rely on some truths about our type code mappings, and our table selection, when translating queries.

We should make sure that a query like:

[:find ?x :where [?x _ 42]]

doesn't match an entity with an FTS value with rowid 42. We currently do so by using the all_datoms table, but that might change in the future…

We haven't yet reimplemented FTS, but when we do, I want to make sure query translation doesn't break! We rely on some truths about our type code mappings, and our table selection, when translating queries. We should make sure that a query like: ```edn [:find ?x :where [?x _ 42]] ``` doesn't match an entity with an FTS value with rowid `42`. We currently do so by using the `all_datoms` table, but that might change in the future…
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: greg/mentat#145
No description provided.