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

    https://github.com/apache/spark/pull/17435#discussion_r137684263
  
    --- Diff: python/pyspark/sql/types.py ---
    @@ -438,6 +438,11 @@ def toInternal(self, obj):
         def fromInternal(self, obj):
             return self.dataType.fromInternal(obj)
     
    +    def typeName(self):
    +        raise TypeError(
    --- End diff --
    
    Could we do like ...
    
    ```python
    raise TypeError(
        "..."
        "...")
    ```
    if it doesn't bother you much?


---

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

Reply via email to