cmu-db / optd

CMU-DB's Cascades optimizer framework
https://cmu-db.github.io/optd/
MIT License
373 stars 22 forks source link

[WIP] core: group reduction using union find #187

Open yliang412 opened 1 month ago

yliang412 commented 1 month ago

The PR uses union-find to maintain group equivalence. This is done by maintaining

The "path compression" done during union operation speeds up tpch sqlplannertest run from ~89s to ~9s on local machine.

TODO