niuge01 commented on a change in pull request #3661: [WIP] Support materialized view URL: https://github.com/apache/carbondata/pull/3661#discussion_r396953401
########## File path: core/src/main/java/org/apache/carbondata/core/datamap/IndexUtil.java ########## @@ -185,38 +185,37 @@ public static void pruneSegments(List<Segment> segments, List<ExtendedBlocklet> Loads the datamaps in parallel by utilizing executor * @param carbonTable - @param dataMapExprWrapper + @param indexExprWrapper @param validSegments @param partitionsToPrune @throws IOException */ - public static void loadDataMaps(CarbonTable carbonTable, DataMapExprWrapper dataMapExprWrapper, + public static void loadDataMaps(CarbonTable carbonTable, IndexExprWrapper indexExprWrapper, List<Segment> validSegments, List<PartitionSpec> partitionsToPrune) throws IOException { if (!CarbonProperties.getInstance() .isDistributedPruningEnabled(carbonTable.getDatabaseName(), carbonTable.getTableName()) - && BlockletDataMapUtil.loadDataMapsParallel(carbonTable)) { - String clsName = "org.apache.spark.sql.secondaryindex.Jobs.SparkBlockletDataMapLoaderJob"; - DataMapJob dataMapJob = (DataMapJob) createDataMapJob(clsName); - String className = - "org.apache.spark.sql.secondaryindex.Jobs.DistributableBlockletDataMapLoader"; + && BlockletIndexUtil.loadDataMapsParallel(carbonTable)) { + String clsName = "org.apache.carbondata.spark.rdd.SparkBlockletDataMapLoaderJob"; Review comment: OK ---------------------------------------------------------------- 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