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 59DFE200CB6 for ; Thu, 29 Jun 2017 21:32:26 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 58AF0160BED; Thu, 29 Jun 2017 19:32:26 +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 C4DE0160BC6 for ; Thu, 29 Jun 2017 21:32:25 +0200 (CEST) Received: (qmail 30940 invoked by uid 500); 29 Jun 2017 19:32:25 -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 30927 invoked by uid 99); 29 Jun 2017 19:32:25 -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; Thu, 29 Jun 2017 19:32:25 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id E1EDFDFB92; Thu, 29 Jun 2017 19:32:24 +0000 (UTC) From: HoneyQuery To: issues@carbondata.apache.org Reply-To: issues@carbondata.apache.org References: In-Reply-To: Subject: [GitHub] carbondata pull request #1112: [CARBONDATA-1244] Rewrite README.md of presto... Content-Type: text/plain Message-Id: <20170629193224.E1EDFDFB92@git1-us-west.apache.org> Date: Thu, 29 Jun 2017 19:32:24 +0000 (UTC) archived-at: Thu, 29 Jun 2017 19:32:26 -0000 Github user HoneyQuery commented on a diff in the pull request: https://github.com/apache/carbondata/pull/1112#discussion_r124892745 --- Diff: integration/presto/src/main/java/org/apache/carbondata/presto/impl/CarbonTableReader.java --- @@ -133,30 +163,54 @@ public boolean updateCarbonFile() { return true; } + /** + * Return the schema names under a schema store path (this.carbonFileList). + * @return + */ public List updateSchemaList() { updateCarbonFile(); if (carbonFileList != null) { - List schemaList = - Stream.of(carbonFileList.listFiles()).map(a -> a.getName()).collect(Collectors.toList()); + /*List schemaList = + Stream.of(carbonFileList.listFiles()).map(a -> a.getName()).collect(Collectors.toList());*/ + List schemaList = new ArrayList<>(); + for (CarbonFile file : carbonFileList.listFiles()) --- End diff -- OK. It is a mistake, I will recover it. --- 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. ---