carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sounakr <...@git.apache.org>
Subject [GitHub] carbondata pull request #1359: [CARBONDATA-1480]Min Max Index Example for Da...
Date Fri, 15 Sep 2017 11:21:50 GMT
Github user sounakr commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1359#discussion_r139124564
  
    --- Diff: core/src/main/java/org/apache/carbondata/core/datamap/dev/DataMap.java ---
    @@ -31,7 +31,8 @@
       /**
        * It is called to load the data map to memory or to initialize it.
        */
    -  void init(String filePath) throws MemoryException, IOException;
    +  void init(String blockletIndexPath, String customIndexPath, String segmentId)
    --- End diff --
    
    In this example Along with Min and Max Information i am keeping few more information for
building the BlockLet. Both indexes are independent but with the current example implementation
i read the Min and Max index and and then read the carbonindex index also in order to get
the column cardanality and segmentproperties. These values are used to form the blocklet used
for pruning. 


---

Mime
View raw message