diff options
author | Matthew Rocklin <mrocklin@gmail.com> | 2014-09-08 15:45:28 -0700 |
---|---|---|
committer | Michael Armbrust <michael@databricks.com> | 2014-09-08 15:45:36 -0700 |
commit | 939a322c85956eda150b10afb2ed1d8d959a7bdf (patch) | |
tree | 8e717dcb85af3e3970682cf0325c0800331221cb /python/pyspark/files.py | |
parent | 26bc7655de18ab0191ded3f75cb77bc756dc1c03 (diff) | |
download | spark-939a322c85956eda150b10afb2ed1d8d959a7bdf.tar.gz spark-939a322c85956eda150b10afb2ed1d8d959a7bdf.tar.bz2 spark-939a322c85956eda150b10afb2ed1d8d959a7bdf.zip |
[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
Diffstat (limited to 'python/pyspark/files.py')
0 files changed, 0 insertions, 0 deletions