Comment by adsharma

5 hours ago

Maintainer of LadybugDB here. I'm reviewing a PR to transpile GQL to Cypher.

It should be possible to transpile datalog or another query language that is interesting.

Implementing storage and secondary indicies is the hard part.

Won't comment on rewriting the DB in Rust beyond what's in GitHub discussions.

Hi adsharma! Great to see you here! I've been thinking about a data query IR that databases could expose. There are IRs for algebra like Substrait, so maybe something similar could work here, maybe with binding info. I don't mean a low-level physical/plan IR but more like a "logical IR" that the optimizer can optimize :)