morrySnow commented on code in PR #48887: URL: https://github.com/apache/doris/pull/48887#discussion_r2000921870
########## fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/mv/mapping/RelationMapping.java: ########## @@ -192,17 +196,22 @@ private static List<Pair<MappedRelation[], MappedRelation[]>> getUniquePermutati } private static void backtrack(MappedRelation[] left, MappedRelation[] right, int index, - boolean[] used, MappedRelation[] current, List<Pair<MappedRelation[], MappedRelation[]>> results) { + boolean[] used, MappedRelation[] current, List<Pair<MappedRelation[], MappedRelation[]>> results, + int maxMappingCount) { + if (results.size() >= maxMappingCount) { + LOG.warn("queryToViewTableMappings is over limit and be intercepted"); Review Comment: log size and other key info here -- 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