levy5307 commented on a change in pull request #8259:
URL: https://github.com/apache/incubator-doris/pull/8259#discussion_r817364339



##########
File path: 
fe/fe-core/src/main/java/org/apache/doris/catalog/HashDistributionInfo.java
##########
@@ -146,4 +146,9 @@ public String toString() {
 
         return builder.toString();
     }
+
+    public RandomDistributionInfo toRandomDistributionInfo() {
+        RandomDistributionInfo randomDistributionInfo = new 
RandomDistributionInfo(bucketNum);

Review comment:
       ```
          RandomDistributionInfo randomDistributionInfo = new 
RandomDistributionInfo(bucketNum);
           return randomDistributionInfo;
   ```
   ==>
   ```
   return new RandomDistributionInfo(bucketNum);
   ```




-- 
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]

Reply via email to