Hacker News new | ask | show | jobs
by jamesfisher 4166 days ago
I'm told that Datalog is equivalent to SQL with recursive subqueries, which means that any Datalog query could be compiled to SQL. (Whether it's feasible to compile to efficient SQL, I don't know.)
1 comments

I'm not aware of such a thing.

Really this is based on my readings and few experiments, I'm not 100% sure that datalog can not be made faster and socialite (see below) seem to claim I'm wrong.

Datalog is the native query language of datomic. I can put the finger on it, but I think there is a project for querying cassandra with datalog+clojure.

This is the most recent work I'm aware of:

- python querying of hadoop with a datalog-like language http://socialite-lang.github.io/

- overview: http://fr.slideshare.net/Hadoop_Summit/t-325p211seo

Also best way to learn datalog: http://www.learndatalogtoday.org/