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

    https://github.com/apache/spark/pull/2747#discussion_r18707446
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/types/dataTypes.scala 
---
    @@ -460,7 +460,7 @@ object MapType {
       def apply(keyType: DataType, valueType: DataType): MapType =
         MapType(keyType: DataType, valueType: DataType, true)
     
    -  def simpleName = "map"
    +  def typeName = "map"
    --- End diff --
    
    I tend to just remove this method since it's not used anywhere. Another 
important reason is that the `DataType` class hierarchy is now part of the 
public API, which should be minimized for safe :)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to