Github user jackylk commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2202#discussion_r183230516
--- Diff:
core/src/main/java/org/apache/carbondata/core/util/CarbonUtil.java ---
@@ -2942,5 +2947,31 @@ public static String
getBlockId(AbsoluteTableIdentifier identifier, String fileP
return blockId;
}
+ /**
+ * methods returns whether the feature is supported for the
corresponding datamap or not
+ * @param carbonTable
+ * @param feature
+ * @return
+ */
+ public static boolean validateFeatureForDatamap(CarbonTable carbonTable,
FeaturesList feature) {
--- End diff --
move this function to CarbonTable
---