You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by GitBox <gi...@apache.org> on 2020/02/05 13:16:41 UTC

[GitHub] [carbondata] Indhumathi27 commented on a change in pull request #3604: [HOTFIX] Allow space between input file paths

Indhumathi27 commented on a change in pull request #3604: [HOTFIX] Allow space between input file paths
URL: https://github.com/apache/carbondata/pull/3604#discussion_r375247744
 
 

 ##########
 File path: integration/spark-common/src/main/scala/org/apache/spark/util/FileUtils.scala
 ##########
 @@ -73,7 +73,7 @@ object FileUtils {
       throw new DataLoadingException("Input file path cannot be empty.")
     } else {
       val stringBuild = new StringBuilder()
-      val filePaths = inputPath.split(",")
+      val filePaths = inputPath.split(",").map(_.trim)
 
 Review comment:
   Can you please add a testcase for this scenario

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services