datahike

https://datahike.io/, Join the conversation at https://discord.com/invite/kEBzMvb, history for this channel is available at https://clojurians.zulipchat.com/#narrow/stream/180378-slack-archive/topic/datahike
whilo 2020-03-11T00:45:13.024700Z

Regarding the last one: If ?tr is not joined between the last two clauses then the final clause has to do a range scan for all :transaction/datetime entities.

👍 1
grounded_sage 2020-03-11T06:30:32.025900Z

Any ideas on the hairy or-join query I am trying to do above? @whilo cc @konrad.kuehne

whilo 2020-03-11T18:51:34.027Z

This is the or-join issue: https://github.com/lambdaforge/datalog-parser/issues/7

whilo 2020-03-11T18:51:53.027400Z

I have stumbled on this before as well, but didn't have time to dive into it.

whilo 2020-03-11T18:53:25.029Z

So or-join is corresponding to left or right joins in SQL, depending how you use it, while an inner join happens when you use ?tr and an outer join (cartesian product) happens when you replace it by _ or some other disjoint variables.

whilo 2020-03-11T19:08:56.029400Z

But your or-join only has one branch, right?

whilo 2020-03-11T19:09:08.029600Z

@grounded_sage