You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by GitBox <gi...@apache.org> on 2019/07/24 10:32:22 UTC

[GitHub] [carbondata] vikramahuja1001 commented on a change in pull request #3333: [CARBONDATA-3476] Fix Read time and scan time stats in executor log for filter query

vikramahuja1001 commented on a change in pull request #3333: [CARBONDATA-3476] Fix Read time and scan time stats in executor log for filter query
URL: https://github.com/apache/carbondata/pull/3333#discussion_r306741473
 
 

 ##########
 File path: core/src/main/java/org/apache/carbondata/core/scan/scanner/impl/BlockletFilterScanner.java
 ##########
 @@ -246,20 +242,26 @@ private BlockletScannedResult executeFilter(RawBlockletColumnChunks rawBlockletC
       dimensionRawColumnChunks[chunkIndex] =
           rawBlockletColumnChunks.getDimensionRawColumnChunks()[chunkIndex];
     }
+    //dimensionReadTime is the time required to read the data from dimension array
+    long totalReadTime = System.currentTimeMillis();
     int[][] allSelectedDimensionColumnIndexRange =
         blockExecutionInfo.getAllSelectedDimensionColumnIndexRange();
     DimensionRawColumnChunk[] projectionListDimensionChunk = rawBlockletColumnChunks.getDataBlock()
         .readDimensionChunks(fileReader, allSelectedDimensionColumnIndexRange);
+    totalReadTime = System.currentTimeMillis() - totalReadTime;
+
 
 Review comment:
   remove this extra space

----------------------------------------------------------------
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