From c44d140cae99d0b880e6d25f158125ad3adc6a05 Mon Sep 17 00:00:00 2001 From: Andrew Or Date: Wed, 23 Mar 2016 22:21:15 -0700 Subject: Revert "[SPARK-14014][SQL] Replace existing catalog with SessionCatalog" This reverts commit 5dfc01976bb0d72489620b4f32cc12d620bb6260. --- python/pyspark/sql/context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') diff --git a/python/pyspark/sql/context.py b/python/pyspark/sql/context.py index 4008332c84..9c2f6a3c56 100644 --- a/python/pyspark/sql/context.py +++ b/python/pyspark/sql/context.py @@ -554,7 +554,7 @@ class SQLContext(object): >>> sqlContext.registerDataFrameAsTable(df, "table1") >>> "table1" in sqlContext.tableNames() True - >>> "table1" in sqlContext.tableNames("default") + >>> "table1" in sqlContext.tableNames("db") True """ if dbName is None: -- cgit v1.2.3