> Rather than a query planner, an interesting approach would be to expose the more stable part of the internals with a new language and let people roll their own query plans.
Those that are ignorant of history are doomed to repeat it.
Go read Stonebraker's "What Goes Around Comes Around"
https://15721.courses.cs.cmu.edu/spring2020/papers/01-intro/...