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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

GitBox
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:
[hidden email]


With regards,
Apache Git Services