nooneuse commented on code in PR #66307:
URL: https://github.com/apache/doris/pull/66307#discussion_r3886050997


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/properties/PhysicalProperties.java:
##########
@@ -59,26 +60,39 @@ public class PhysicalProperties {
 
     private final DistributionSpec distributionSpec;
 
+    private final Optional<NaturalDistributionMappingSpec> 
naturalDistributionMappingSpec;
+
     private Integer hashCode = null;
 
     private PhysicalProperties() {
-        this.orderSpec = new OrderSpec();
-        this.distributionSpec = DistributionSpecAny.INSTANCE;
+        this(DistributionSpecAny.INSTANCE, new OrderSpec(), Optional.empty());
     }
 
     public PhysicalProperties(DistributionSpec distributionSpec) {
-        this.distributionSpec = distributionSpec;
-        this.orderSpec = new OrderSpec();
+        this(distributionSpec, new OrderSpec(), 
naturalMappingSpecFrom(distributionSpec));

Review Comment:
   alright



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