cmu-db / peloton

The Self-Driving Database Management System
http://pelotondb.io
Apache License 2.0
2.03k stars 622 forks source link

Syntax-based query rewriter #1494

Open newtoncx opened 5 years ago

newtoncx commented 5 years ago

The code here uses templates across many optimizer files to leverage the old query rewriter and allow it to operate on expression trees. A very simple rewriting task is passing. Use of abstract interfaces may provide a cleaner way to generalize the rewriter, and the code is currently in progress in a separate branch of development.

coveralls commented 5 years ago

Coverage Status

Coverage decreased (-1.1%) to 75.418% when pulling f4d4e8fba44fce79e73585569c46ba4c0b21ad36 on 17zhangw:templatize into 484d76df9344cb5c153a2c361c5d5018912d4cf4 on cmu-db:master.