Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BEB3E200CE6 for ; Fri, 15 Sep 2017 13:21:54 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BD5E61609D1; Fri, 15 Sep 2017 11:21:54 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0663E1609CF for ; Fri, 15 Sep 2017 13:21:53 +0200 (CEST) Received: (qmail 37784 invoked by uid 500); 15 Sep 2017 11:21:52 -0000 Mailing-List: contact issues-help@carbondata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@carbondata.apache.org Delivered-To: mailing list issues@carbondata.apache.org Received: (qmail 37775 invoked by uid 99); 15 Sep 2017 11:21:52 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Sep 2017 11:21:52 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 7E03FF5568; Fri, 15 Sep 2017 11:21:50 +0000 (UTC) From: sounakr To: issues@carbondata.apache.org Reply-To: issues@carbondata.apache.org References: In-Reply-To: Subject: [GitHub] carbondata pull request #1359: [CARBONDATA-1480]Min Max Index Example for Da... Content-Type: text/plain Message-Id: <20170915112151.7E03FF5568@git1-us-west.apache.org> Date: Fri, 15 Sep 2017 11:21:50 +0000 (UTC) archived-at: Fri, 15 Sep 2017 11:21:54 -0000 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. ---