diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/pyspark/sql.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/python/pyspark/sql.py b/python/pyspark/sql.py index 417db34d67..3ac8ea597e 100644 --- a/python/pyspark/sql.py +++ b/python/pyspark/sql.py @@ -1683,17 +1683,6 @@ class HiveContext(SQLContext): return self._jvm.HiveContext(self._jsc.sc()) -class LocalHiveContext(HiveContext): - - def __init__(self, sparkContext, sqlContext=None): - HiveContext.__init__(self, sparkContext, sqlContext) - warnings.warn("LocalHiveContext is deprecated. " - "Use HiveContext instead.", DeprecationWarning) - - def _get_hive_ctx(self): - return self._jvm.LocalHiveContext(self._jsc.sc()) - - def _create_row(fields, values): row = Row(*values) row.__FIELDS__ = fields |