[Bug] fix show dynamic partition tables; replicationNum is wrong (#6128)
This commit is contained in:
@ -1738,7 +1738,7 @@ public class ShowExecutor {
|
||||
DynamicPartitionProperty dynamicPartitionProperty = olapTable.getTableProperty().getDynamicPartitionProperty();
|
||||
String tableName = olapTable.getName();
|
||||
int replicationNum = dynamicPartitionProperty.getReplicationNum();
|
||||
replicationNum = (replicationNum == DynamicPartitionProperty.NOT_SET_REPLICATION_NUM) ? olapTable.getDefaultReplicationNum() : FeConstants.default_replication_num;
|
||||
replicationNum = (replicationNum == DynamicPartitionProperty.NOT_SET_REPLICATION_NUM) ? olapTable.getDefaultReplicationNum() : replicationNum;
|
||||
rows.add(Lists.newArrayList(
|
||||
tableName,
|
||||
String.valueOf(dynamicPartitionProperty.getEnable()),
|
||||
|
||||
Reference in New Issue
Block a user