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

    https://github.com/apache/spark/pull/22171#discussion_r211682187
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/types/Decimal.scala ---
    @@ -197,7 +197,7 @@ final class Decimal extends Ordered[Decimal] with 
Serializable {
         }
       }
     
    -  override def toString: String = toBigDecimal.toString()
    +  override def toString: String = toBigDecimal.bigDecimal.toPlainString()
    --- End diff --
    
    Yea, I was wondering `0E-7` vs `0.0000000`. Looks Postgres follows 
`0.0000000` way, right? 
    
    cc @mengxr, it vaguely remember that I saw something you said about `0E-7` 
expression before. Please ignore me if I am wrongly remembering this.


---

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

Reply via email to