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

 ##########
 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:
   Please correct the method name

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


With regards,
Apache Git Services

Reply via email to