You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by GitBox <gi...@apache.org> on 2019/01/30 09:41:30 UTC

[GitHub] NamanRastogi commented on a change in pull request #3113: [WIP] Workaround for Create-PreAgg Datamap Fail

NamanRastogi commented on a change in pull request #3113: [WIP] Workaround for Create-PreAgg Datamap Fail
URL: https://github.com/apache/carbondata/pull/3113#discussion_r252179578
 
 

 ##########
 File path: core/src/main/java/org/apache/carbondata/core/util/CarbonUtil.java
 ##########
 @@ -3338,4 +3338,20 @@ public static boolean hasEncoding(List<org.apache.carbondata.format.Encoding> en
   public static String generateUUID() {
     return UUID.randomUUID().toString();
   }
+
+  /**
+   * Below method will be used to get the datamap schema name from datamap table name
+   * it will split name based on _ and get the last name
+   * This is only for pre aggregate and timeseries tables
+   *
+   * @param tableName
+   * @return datamapschema name
+   */
+  public static String getDataMapNameFromnTableName(String tableName) {
 
 Review comment:
   Done.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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