Skip to content

Commit

Permalink
[HOTFIX] Correct metrics and avoid twice read when prefetch is disabled
Browse files Browse the repository at this point in the history
When prefetch is disabled in full scan queries read twice the data. This PR removes extra read.

This closes #2737
  • Loading branch information
ravipesala authored and kumarvishal09 committed Sep 21, 2018
1 parent 817230d commit b04269b
Showing 1 changed file with 0 additions and 3 deletions.
Expand Up @@ -84,9 +84,6 @@ public BlockletScannedResult scanBlocklet(
String blockletId = blockExecutionInfo.getBlockIdString() + CarbonCommonConstants.FILE_SEPARATOR
+ rawBlockletColumnChunks.getDataBlock().blockletIndex();
scannedResult.setBlockletId(blockletId);
if (!blockExecutionInfo.isPrefetchBlocklet()) {
readBlocklet(rawBlockletColumnChunks);
}
DimensionRawColumnChunk[] dimensionRawColumnChunks =
rawBlockletColumnChunks.getDimensionRawColumnChunks();
DimensionColumnPage[][] dimensionColumnDataChunks =
Expand Down

0 comments on commit b04269b

Please sign in to comment.