Use #668 to store queries in database. Next, allow to register virtual predicates that refer these queries. Shapes optimizer will run a rewrite pass to detect predicates that are registered as virtual and will add a specified subquery to the tree. Will require #667 to be implemented.
Use #668 to store queries in database. Next, allow to register virtual predicates that refer these queries. Shapes optimizer will run a rewrite pass to detect predicates that are registered as virtual and will add a specified subquery to the tree. Will require #667 to be implemented.