Datalog for trees in Clojure
blog.juxt.pro
Datalog for trees in Clojure
1–7 of 7 posts
Re: Datalog for trees in Clojure
#2Re: Datalog for trees in Clojure
#3Just a detail: In fairness, I think one can say that there is actually one more "implementation" of datalog for Clojure, though it is built upon the Hadoop ecosystem, Cascalog [1].
I just hope they get Apache Spark support out of the door soon, as that would make it a lot more useful for things with any kind of requirements on delay.
But most of all, I wish there was a solid open source disk-based database/data system out there that did NOT need the overhead of a Hadoop, nor Spark installation. That would be killer!
Re: Datalog for trees in Clojure
#4Cool article! Datalog is definitely worth more attention! Just a detail: In fairness, I think one can say that there is actually one more "implementation" of datalog for Clojure, though it is built upon the Hadoop ecosystem, Cascalog [1]. I just hope they get Apache Spark support out of the door soon, as that would make it a lot more useful for things with any kind of requirements on delay. But most of all, I wish th…
This, combined with the pattern-matching oriented syntax that leverages implicit JOINs, makes it so much more useful (it seems to me), than SQL VIEWs (which would be the SQL counterpart to datalog's named queries) will ever be (Correct me if I'm wrong!).
Re: Datalog for trees in Clojure
#5Cool article! Datalog is definitely worth more attention! Just a detail: In fairness, I think one can say that there is actually one more "implementation" of datalog for Clojure, though it is built upon the Hadoop ecosystem, Cascalog [1]. I just hope they get Apache Spark support out of the door soon, as that would make it a lot more useful for things with any kind of requirements on delay. But most of all, I wish th…
It is a datalog like fragment without recursion but with added negation. Which makes it more like a pretty syntax for conjunctive queries with negation and thus equivalent in power to SQL.
The tree example of the article would thus not be possible in cascalog.
Re: Datalog for trees in Clojure
#6Cool article! Datalog is definitely worth more attention! Just a detail: In fairness, I think one can say that there is actually one more "implementation" of datalog for Clojure, though it is built upon the Hadoop ecosystem, Cascalog [1]. I just hope they get Apache Spark support out of the door soon, as that would make it a lot more useful for things with any kind of requirements on delay. But most of all, I wish th…
Cascalog isn't really datalog. It is a datalog like fragment without recursion but with added negation. Which makes it more like a pretty syntax for conjunctive queries with negation and thus equivalent in power to SQL. The tree example of the article would thus not be possible in cascalog.