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

    https://github.com/apache/spark/pull/22213#discussion_r212530383
  
    --- 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 --
    
    @gerashegalov would you please elaborate the use case here? I saw that 
you're treating `\n` as a property value, what is the specific usage scenario 
here?


---

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

Reply via email to