Converts obj
to the type specified by the data type, or returns null if the type of obj is
unexpected.
Converts obj
to the type specified by the data type, or returns null if the type of obj is
unexpected. Because Python doesn't enforce the type.
Convert an RDD of Java objects to an RDD of serialized Python objects, that is usable by PySpark.
This should be called before trying to serialize any above classes un cluster mode, this should be put in the closure
Helper for converting from Catalyst type to java type suitable for Pyrolite.