morningman commented on a change in pull request #2737: Support replication_num
setting for table level
URL: https://github.com/apache/incubator-doris/pull/2737#discussion_r366163599
##########
File path: fe/src/main/java/org/apache/doris/catalog/OlapTable.java
##########
@@ -1203,4 +1203,19 @@ public boolean
convertRandomDistributionToHashDistribution() {
}
return hasChanged;
}
+
+ public void setReplicationNum(Short replicationNum) {
Review comment:
See comment of `TableProperty` about how to modify and use this class.
You should add a new field `defaultReplicaNum` in `TableProperty`, and this
field is built from `properties`.
Also, a method `buildDefaultReplicaNum()` should be implemented.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]