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 53DE5200D0B for ; Wed, 13 Sep 2017 05:31:28 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4CCB91609C8; Wed, 13 Sep 2017 03:31:28 +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 8835F1609B4 for ; Wed, 13 Sep 2017 05:31:27 +0200 (CEST) Received: (qmail 55102 invoked by uid 500); 13 Sep 2017 03:31:26 -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 55093 invoked by uid 99); 13 Sep 2017 03:31:26 -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; Wed, 13 Sep 2017 03:31:26 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 76DA1F56C6; Wed, 13 Sep 2017 03:31:24 +0000 (UTC) From: ravipesala To: issues@carbondata.apache.org Reply-To: issues@carbondata.apache.org References: In-Reply-To: Subject: [GitHub] carbondata pull request #1273: [CARBONDATA-1400] Fix bug of array column out... Content-Type: text/plain Message-Id: <20170913033125.76DA1F56C6@git1-us-west.apache.org> Date: Wed, 13 Sep 2017 03:31:24 +0000 (UTC) archived-at: Wed, 13 Sep 2017 03:31:28 -0000 Github user ravipesala commented on a diff in the pull request: https://github.com/apache/carbondata/pull/1273#discussion_r138517320 --- Diff: core/src/main/java/org/apache/carbondata/core/datastore/page/VarLengthColumnPageBase.java --- @@ -79,29 +82,29 @@ public void setDoublePage(double[] doubleData) { /** * Create a new column page for decimal page */ - static ColumnPage newDecimalColumnPage(byte[] lvEncodedBytes, int scale, int precision) - throws MemoryException { + static ColumnPage newDecimalColumnPage(TableSpec.ColumnSpec columnSpec, byte[] lvEncodedBytes, + int scale, int precision) throws MemoryException { --- End diff -- since columnSpec is passed can we remove scala and precision from methods and get from columnspec? ---