carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [carbondata] ravipesala commented on a change in pull request #3308: [CARBONDATA-3454] optimized index server output for count(*)
Date Thu, 08 Aug 2019 11:37:54 GMT
ravipesala commented on a change in pull request #3308: [CARBONDATA-3454] optimized index server
output for count(*)
URL: https://github.com/apache/carbondata/pull/3308#discussion_r311988725
 
 

 ##########
 File path: hadoop/src/main/java/org/apache/carbondata/hadoop/api/CarbonTableInputFormat.java
 ##########
 @@ -562,15 +563,14 @@ public BlockMappingVO getBlockRowCount(Job job, CarbonTable table,
       if (CarbonProperties.getInstance()
           .isDistributedPruningEnabled(table.getDatabaseName(), table.getTableName())) {
         try {
-          List<InputSplit> extendedBlocklets = CarbonTableInputFormat.convertToCarbonInputSplit(
+          List<ExtendedBlocklet> extendedBlocklets =
               getDistributedSplit(table, null, partitions, filteredSegment,
-                  allSegments.getInvalidSegments(), toBeCleanedSegments));
-          for (InputSplit extendedBlocklet : extendedBlocklets) {
-            CarbonInputSplit blocklet = (CarbonInputSplit) extendedBlocklet;
+                  allSegments.getInvalidSegments(), toBeCleanedSegments);
 
 Review comment:
   I think you supposed to pass true for count job

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


With regards,
Apache Git Services

Mime
View raw message