morrySnow commented on code in PR #54079:
URL: https://github.com/apache/doris/pull/54079#discussion_r2325531907
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/Plan.java:
##########
@@ -310,4 +311,8 @@ default DataTrait computeDataTrait() {
void computeEqualSet(DataTrait.Builder builder);
void computeFd(DataTrait.Builder builder);
+
+ default Statistics getStats() {
+ throw new IllegalStateException("Not support getStats for " +
getClass().getName());
+ }
Review Comment:
why add a default impl?
--
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]