[GitHub] [carbondata] dhatchayani commented on a change in pull request #3372: [CARBONDATA-3511] Query time improvement by reducing the number of NameNode calls while having carbonindex files in the store

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] [carbondata] dhatchayani commented on a change in pull request #3372: [CARBONDATA-3511] Query time improvement by reducing the number of NameNode calls while having carbonindex files in the store

GitBox
dhatchayani commented on a change in pull request #3372: [CARBONDATA-3511] Query time improvement by reducing the number of NameNode calls while having carbonindex files in the store
URL: https://github.com/apache/carbondata/pull/3372#discussion_r321578162
 
 

 ##########
 File path: core/src/main/java/org/apache/carbondata/core/indexstore/BlockletDataMapIndexStore.java
 ##########
 @@ -64,6 +64,13 @@
    */
   private Map<String, Object> segmentLockMap;
 
+  /**
+   * map of segmentPath to the map of index/ merge index file path to its
+   * corresponding block info. While querying the table this map will be useful while creating the
+   * block info for the index or merge index file.
+   */
+  private Map<String, Map<String, BlockMetaInfo>> segInfoCache;
 
 Review comment:
   ok.. we can reuse the getAll method to reuse the method level cache.
   Closing this PR

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