Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
 Query Rewrite #1340
This PR adds support for query rewriting optimizations that are oblivious to the cost model in Peloton.
We implement query rewrite rules using the current optimizer framework:
Constant folding can transform queries like
Overall looks great, just some comments and clarifications here and there.