Github user chenliang613 commented on a diff in the pull request: https://github.com/apache/carbondata/pull/1112#discussion_r124813648 --- 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 -- This part code, don't suggest changing .
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---