From 497be3ca2d8f0600e927f8f036177fcd3bb6e229 Mon Sep 17 00:00:00 2001 From: Michael Armbrust Date: Tue, 29 Apr 2014 00:36:15 -0700 Subject: Minor fix to python table caching API. Author: Michael Armbrust Closes #585 from marmbrus/pythonCacheTable and squashes the following commits: 7ec1f91 [Michael Armbrust] Minor fix to python table caching API. --- python/pyspark/sql.py | 4 ++-- 1 file 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. """ -- cgit v1.2.3