You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by pw...@apache.org on 2014/04/29 09:36:21 UTC
git commit: Minor fix to python table caching API.
Repository: spark
Updated Branches:
refs/heads/master 719c8bc65 -> 497be3ca2
Minor fix to python table caching API.
Author: Michael Armbrust <mi...@databricks.com>
Closes #585 from marmbrus/pythonCacheTable and squashes the following commits:
7ec1f91 [Michael Armbrust] Minor fix to python table caching API.
Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/497be3ca
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/497be3ca
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/497be3ca
Branch: refs/heads/master
Commit: 497be3ca2d8f0600e927f8f036177fcd3bb6e229
Parents: 719c8bc
Author: Michael Armbrust <mi...@databricks.com>
Authored: Tue Apr 29 00:36:15 2014 -0700
Committer: Patrick Wendell <pw...@gmail.com>
Committed: Tue Apr 29 00:36:15 2014 -0700
----------------------------------------------------------------------
python/pyspark/sql.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/spark/blob/497be3ca/python/pyspark/sql.py
----------------------------------------------------------------------
diff --git a/python/pyspark/sql.py b/python/pyspark/sql.py
index 114fa13..1a62031 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.
"""