xiaokang commented on code in PR #30348: URL: https://github.com/apache/doris/pull/30348#discussion_r1467285617
########## fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/algebra/Project.java: ########## @@ -64,6 +68,22 @@ default List<NamedExpression> mergeProjections(Project childProject) { return PlanUtils.mergeProjections(childProject.getProjects(), getProjects()); } + /** + * Check if it is a project that is pull up from scan in analyze rule + * e.g. BindSlotWithPaths + */ + default boolean isPulledUpProjectFromScan() { Review Comment: hasPulledUpProjectFromScan is more accurate -- 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