You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2019/12/04 11:38:24 UTC

[GitHub] [incubator-doris] imay commented on a change in pull request #2381: (#2379) add storage_medium info when getting table info

imay commented on a change in pull request #2381: (#2379) add storage_medium info  when getting table info
URL: https://github.com/apache/incubator-doris/pull/2381#discussion_r353693560
 
 

 ##########
 File path: fe/src/main/java/org/apache/doris/catalog/Catalog.java
 ##########
 @@ -4001,6 +4007,7 @@ public static void getDdlStmt(Table table, List<String> createTableStmt, List<St
                 sb.append("(\"version_info\" = \"");
                 sb.append(Joiner.on(",").join(partition.getVisibleVersion(), partition.getVisibleVersionHash()))
                         .append("\"");
+                sb.append(",\"storage_medium\" = \"").append(partitionInfo.getDataProperty(partition.getId()).getStorageMedium()).append("\"");
 
 Review comment:
   use PROPERTIES_STORAGE_MEDIUM?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

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