stalary commented on code in PR #9206:
URL: https://github.com/apache/incubator-doris/pull/9206#discussion_r860316897
##########
fe/fe-core/src/main/java/org/apache/doris/analysis/StmtRewriter.java:
##########
@@ -1141,5 +1147,32 @@ private static Expr createJoinConjunct(Expr
exprWithSubquery, InlineViewRef inli
smap.put(subquery, subquerySubstitute);
return exprWithSubquery.substitute(smap, analyzer, false);
}
+
+ @SneakyThrows
+ public static void rewriteByPolicy(SelectStmt selectStmt, Analyzer
analyzer) {
+ Catalog currentCatalog = Catalog.getCurrentCatalog();
+ for (int i = 0; i < selectStmt.fromClause_.size(); i++) {
Review Comment:
Ok, thanks for the reminder, I'll fix it
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]