aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/pyspark/sql.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/pyspark/sql.py b/python/pyspark/sql.py
index 114fa138d0..1a62031db5 100644
--- a/python/pyspark/sql.py
+++ b/python/pyspark/sql.py
@@ -143,13 +143,13 @@ class SQLContext:
"""
return SchemaRDD(self._ssql_ctx.table(tableName), self)
- def cacheTable(tableName):
+ def cacheTable(self, tableName):
"""
Caches the specified table in-memory.
"""
self._ssql_ctx.cacheTable(tableName)
- def uncacheTable(tableName):
+ def uncacheTable(self, tableName):
"""
Removes the specified table from the in-memory cache.
"""