xiaojunjie opened a new pull request, #16980: URL: https://github.com/apache/doris/pull/16980
# Proposed changes Issue Number: close #15394 #15395 #15396 ## Problem summary The original process of NereidsPlan includes analysis, rewriting and optimization. This newly added cache works after rewriting, before optimization. ### query cache The treeString of rewritePlan is used as the key of query cache. If successfully fetch cache data, the process of NereidsPlan will end. Otherwise, continue. ### partition cache 1. Split corresponding conjuncts and rewrite logicalFilter to the new plan, named LogicalCache. 2. CopyOut current root plan and print its treeString, which is used as the key of partition cache. 3. Fetch cache data. Then logicalCache with cache-missed conjuncts will be rewrite back to logicalFilter 4. Continue the rest of the process of NereidsPlan. ## Checklist(Required) * [x] Does it affect the original behavior * [ ] Has unit tests been added * [ ] Has document been added or modified * [ ] Does it need to update dependencies * [ ] Is this PR support rollback (If NO, please explain WHY) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org