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:
[email protected]


With regards,
Apache Git Services

Reply via email to