Cascades like SQL query optimizer using egg? #228
fabianmurariu
started this conversation in
Ideas
Replies: 1 comment
-
It is something we've discussed, but I don't know of anyone who has yet done it. I think it's a great idea though! One big challenge left to connect the two frameworks is cost-driven optimization. Cascades relies on branch-and-bound, top-down search to prune the search space. We don't yet know how to emulate this with the bottom-up approach that egg/equality saturation does. But I suspect it can be made to work! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I've been looking at writing a general purpose SQL query optimizer on top of egg. Are you aware of anyone else trying to do so? I'd prefer not starting from scratch. Egg looks very close to what Cascades/Columbia optimizers do but in a more generic way.
Cheers
Beta Was this translation helpful? Give feedback.
All reactions