qzsee commented on code in PR #37790: URL: https://github.com/apache/doris/pull/37790#discussion_r1683604508
########## fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/logical/LogicalPlan.java: ########## @@ -107,4 +108,8 @@ default DataTrait computeDataTrait() { void computeEqualSet(DataTrait.Builder builder); void computeFd(DataTrait.Builder builder); + + default StmtType stmtType() { + return StmtType.OTHER; Review Comment: If it is changed to an abstract method, then all subclasses must implement this method, which is unnecessary -- 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