carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From CarbonDataQA <...@git.apache.org>
Subject [GitHub] carbondata pull request #1260: [CARBONDATA-1382] Add more test cases for buc...
Date Sat, 19 Aug 2017 03:19:57 GMT
Github user CarbonDataQA commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1260#discussion_r134081618
  
    --- Diff: integration/spark-common/src/main/scala/org/apache/spark/sql/test/ResourceRegisterAndCopier.scala
---
    @@ -59,6 +59,9 @@ object ResourceRegisterAndCopier {
               val rsFile = FileFactory.getCarbonFile(hdfsDataPath, fileType)
               if (!rsFile.exists()) {
                 val target = resourcePath + "/" + file
    +            if (file.lastIndexOf("/") > -1) {
    +              new File(resourcePath + "/" + file.substring(0, file.lastIndexOf("/"))).mkdirs()
    +            }
                 new File(resourcePath + "/" + file.substring(0, file.lastIndexOf("/"))).mkdirs()
    --- End diff --
    
    remove this line.Because it is already added above


---
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