Github user gerashegalov commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22213#discussion_r213488600
  
    --- Diff: core/src/main/scala/org/apache/spark/util/Utils.scala ---
    @@ -2062,8 +2062,10 @@ private[spark] object Utils extends Logging {
         try {
           val properties = new Properties()
           properties.load(inReader)
    -      properties.stringPropertyNames().asScala.map(
    -        k => (k, properties.getProperty(k).trim)).toMap
    +      properties.stringPropertyNames().asScala
    +        .map(k => (k, properties.getProperty(k)))
    --- End diff --
    
    I have also mentioned that we can make this a conditional logic: 
https://github.com/apache/spark/pull/22213#discussion_r212696259


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to