Building an external query planner: E-Graphs, measure-aware rewriting, and cross-dialect SQL (opens in new tab)
A technical deep dive into how Cube's Semantic SQL rewrites measure-aware queries using E-Graph term rewriting, handles bottom-up evaluation, and transpiles across SQL dialects.
Read the original article