ravipesala commented on a change in pull request #3179: [CARBONDATA-3338] 
Support Incremental DataLoad for MV Datamap[with single parent table]
URL: https://github.com/apache/carbondata/pull/3179#discussion_r277959926
 
 

 ##########
 File path: 
core/src/main/java/org/apache/carbondata/core/datamap/DataMapUtil.java
 ##########
 @@ -159,4 +159,12 @@ private static DistributableDataMapFormat 
createDataMapJob(CarbonTable carbonTab
     return ssm.getValidAndInvalidSegments();
   }
 
+  /**
+   * Check if carbonTable is mv datamap table
+   */
+  public static Boolean isMVdatamapTable(CarbonTable carbonTable) {
+    String isMVdatamapTable =
+        
carbonTable.getTableInfo().getFactTable().getTableProperties().get("isMVdatamapTable");
 
 Review comment:
   please move this `isMVdatamapTable` to constant

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


With regards,
Apache Git Services

Reply via email to