carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From HoneyQuery <...@git.apache.org>
Subject [GitHub] carbondata pull request #1112: [CARBONDATA-1244] Rewrite README.md of presto...
Date Thu, 29 Jun 2017 19:32:24 GMT
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<String> updateSchemaList() {
         updateCarbonFile();
     
         if (carbonFileList != null) {
    -      List<String> schemaList =
    -          Stream.of(carbonFileList.listFiles()).map(a -> a.getName()).collect(Collectors.toList());
    +      /*List<String> schemaList =
    +          Stream.of(carbonFileList.listFiles()).map(a -> a.getName()).collect(Collectors.toList());*/
    +      List<String> 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.
---

Mime
View raw message