-
- Downloads
[SPARK-3417] Use new-style classes in PySpark
Tiny PR making SQLContext a new-style class. This allows various type logic to work more effectively ```Python In [1]: import pyspark In [2]: pyspark.sql.SQLContext.mro() Out[2]: [pyspark.sql.SQLContext, object] ``` Author: Matthew Rocklin <mrocklin@gmail.com> Closes #2288 from mrocklin/sqlcontext-new-style-class and squashes the following commits: 4aadab6 [Matthew Rocklin] update other old-style classes a2dc02f [Matthew Rocklin] pyspark.sql.SQLContext is new-style class
Showing
- python/pyspark/mllib/random.py 1 addition, 1 deletionpython/pyspark/mllib/random.py
- python/pyspark/mllib/util.py 1 addition, 1 deletionpython/pyspark/mllib/util.py
- python/pyspark/sql.py 1 addition, 1 deletionpython/pyspark/sql.py
- python/pyspark/storagelevel.py 1 addition, 1 deletionpython/pyspark/storagelevel.py
Loading
Please register or sign in to comment