This would benefit query splitting. Currently, we split the statements and ask the query engine to replay them (and re-parse them). If we decouple the rewriter, we can parse the statement and just apply the rewrite rules when needed during the execution flow.
This would benefit query splitting. Currently, we split the statements and ask the query engine to replay them (and re-parse them). If we decouple the rewriter, we can parse the statement and just apply the rewrite rules when needed during the execution flow.