Skip to content

Commit

Permalink
[SPARK-9101] [PySpark] Add missing NullType to _atomic_types in pyspa…
Browse files Browse the repository at this point in the history
…rk.sql.types
  • Loading branch information
Mateusz Buśkiewicz committed Jul 18, 2015
1 parent 692378c commit 97e3f2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyspark/sql/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ def __eq__(self, other):


_atomic_types = [StringType, BinaryType, BooleanType, DecimalType, FloatType, DoubleType,
ByteType, ShortType, IntegerType, LongType, DateType, TimestampType]
ByteType, ShortType, IntegerType, LongType, DateType, TimestampType, NullType]
_all_atomic_types = dict((t.typeName(), t) for t in _atomic_types)
_all_complex_types = dict((v.typeName(), v)
for v in [ArrayType, MapType, StructType])
Expand Down

0 comments on commit 97e3f2f

Please sign in to comment.