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

    https://github.com/apache/spark/pull/18590#discussion_r126482669
  
    --- Diff: python/pyspark/sql/tests.py ---
    @@ -1246,6 +1246,31 @@ def test_struct_type(self):
             with self.assertRaises(TypeError):
                 not_a_field = struct1[9.9]
     
    +    def test_parse_datatype_string(self):
    +        from pyspark.sql.types import _all_atomic_types, 
_parse_datatype_string
    +        for k, t in _all_atomic_types.items():
    +            if t != NullType:
    --- End diff --
    
    So, if I haven't missed anything, this PR drops the support the type 
parsing `null`. I guess it is almost seldom that we explicitly set the type 
with `null`. Also, IIRC, we will support `NullType` via `void` (SPARK-20680) 
soon as a workaround.


---
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