You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2021/03/04 14:22:48 UTC

[incubator-doris] branch master updated: [Bug] The toString() method in PartitionInfo class. Property information strings are concatenated together (#5407)

This is an automated email from the ASF dual-hosted git repository.

morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git


The following commit(s) were added to refs/heads/master by this push:
     new bfce98f  [Bug] The toString() method in PartitionInfo class. Property information strings are concatenated together (#5407)
bfce98f is described below

commit bfce98f4b93ce5da98097f4f8ab21c45aa250bb8
Author: zhuixun <49...@qq.com>
AuthorDate: Thu Mar 4 22:22:37 2021 +0800

    [Bug] The toString() method in PartitionInfo class. Property information strings are concatenated together (#5407)
---
 .../src/main/java/org/apache/doris/catalog/PartitionInfo.java     | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/fe/fe-core/src/main/java/org/apache/doris/catalog/PartitionInfo.java b/fe/fe-core/src/main/java/org/apache/doris/catalog/PartitionInfo.java
index 04caa4f..575525b 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/catalog/PartitionInfo.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/catalog/PartitionInfo.java
@@ -192,15 +192,15 @@ public class PartitionInfo implements Writable {
         buff.append("type: ").append(type.typeString).append("; ");
 
         for (Map.Entry<Long, DataProperty> entry : idToDataProperty.entrySet()) {
-            buff.append(entry.getKey()).append("is HDD: ");;
+            buff.append(entry.getKey()).append(" is HDD: ");
             if (entry.getValue().equals(new DataProperty(TStorageMedium.HDD))) {
                 buff.append(true);
             } else {
                 buff.append(false);
-
             }
-            buff.append("data_property: ").append(entry.getValue().toString());
-            buff.append("replica number: ").append(idToReplicationNum.get(entry.getKey()));
+            buff.append("; ");
+            buff.append("data_property: ").append(entry.getValue().toString()).append("; ");;
+            buff.append("replica number: ").append(idToReplicationNum.get(entry.getKey())).append("; ");;
             buff.append("in memory: ").append(idToInMemory.get(entry.getKey()));
         }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org