jackwener commented on code in PR #11222: URL: https://github.com/apache/doris/pull/11222#discussion_r932167685
########## fe/fe-core/src/main/java/org/apache/doris/nereids/properties/DistributionSpecAny.java: ########## @@ -18,8 +18,16 @@ package org.apache.doris.nereids.properties; /** - * Describe random distribution. + * Data can be anywhere on the segments (required only). */ -public class RandomDistributionDesc extends DistributionSpec { +public class DistributionSpecAny extends DistributionSpec { + public DistributionSpecAny() { + super(); + } + + @Override + public boolean meet(DistributionSpec other) { + return other instanceof DistributionSpecAny; Review Comment: super's function's comment is wrong, I have fixed 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: 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