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

    https://github.com/apache/spark/pull/21739#discussion_r201092627
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/types/ObjectType.scala ---
    @@ -43,7 +43,7 @@ case class ObjectType(cls: Class[_]) extends DataType {
     
       def asNullable: DataType = this
     
    -  override def simpleString: String = cls.getName
    +  override def simpleString: String = s"Object[${cls.getName}]"
    --- End diff --
    
    this is to make it differentiate between IntegerType and ObjectType with 
`int` in it. Both show up in the simpleStreaing as `int`.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to