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.
Coverage decreased (-1.1%) to 75.418% when pulling f4d4e8fba44fce79e73585569c46ba4c0b21ad36 on 17zhangw:templatize into 484d76df9344cb5c153a2c361c5d5018912d4cf4 on cmu-db:master.
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.