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:
[hidden email]
With regards,
Apache Git Services