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 8BCCD200497 for ; Wed, 23 Aug 2017 10:49:50 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6D74416879A; Wed, 23 Aug 2017 08:49:50 +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 D64C0168791 for ; Wed, 23 Aug 2017 10:49:49 +0200 (CEST) Received: (qmail 63366 invoked by uid 500); 23 Aug 2017 08:49:49 -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 63357 invoked by uid 99); 23 Aug 2017 08:49:49 -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, 23 Aug 2017 08:49:49 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id F1BB8E088D; Wed, 23 Aug 2017 08:49:48 +0000 (UTC) From: chenliang613 To: issues@carbondata.apache.org Reply-To: issues@carbondata.apache.org References: In-Reply-To: Subject: [GitHub] carbondata pull request #1257: [CARBONDATA-1347] Implemented Columnar Readin... Content-Type: text/plain Message-Id: <20170823084948.F1BB8E088D@git1-us-west.apache.org> Date: Wed, 23 Aug 2017 08:49:48 +0000 (UTC) archived-at: Wed, 23 Aug 2017 08:49:50 -0000 Github user chenliang613 commented on a diff in the pull request: https://github.com/apache/carbondata/pull/1257#discussion_r134692412 --- Diff: integration/presto/src/main/java/org/apache/carbondata/presto/CarbondataRecordSetProvider.java --- @@ -73,27 +60,23 @@ public CarbondataRecordSetProvider(CarbondataConnectorId connectorId, CarbonTabl CarbondataSplit carbondataSplit = checkType(split, CarbondataSplit.class, "split is not class CarbondataSplit"); - checkArgument(carbondataSplit.getConnectorId().equals(connectorId), "split is not for this connector"); + checkArgument(carbondataSplit.getConnectorId().equals(connectorId), + "split is not for this connector"); - StringBuffer targetColsBuffer = new StringBuffer(); String targetCols = ""; // Convert all columns handles ImmutableList.Builder handles = ImmutableList.builder(); for (ColumnHandle handle : columns) { handles.add(checkType(handle, CarbondataColumnHandle.class, "handle")); - targetColsBuffer.append(((CarbondataColumnHandle) handle).getColumnName()).append(","); + targetCols += ((CarbondataColumnHandle) handle).getColumnName() + ","; --- End diff -- i didn't see any code to resolve this comment. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---