aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorAndrew Or <andrew@databricks.com>2016-03-23 22:21:15 -0700
committerAndrew Or <andrew@databricks.com>2016-03-23 22:21:15 -0700
commitc44d140cae99d0b880e6d25f158125ad3adc6a05 (patch)
tree7f0e5324e67efeff2cccf661cd27a21c3618098c /python
parentcf823bead18c5be86b36da59b4bbf935c4804d04 (diff)
downloadspark-c44d140cae99d0b880e6d25f158125ad3adc6a05.tar.gz
spark-c44d140cae99d0b880e6d25f158125ad3adc6a05.tar.bz2
spark-c44d140cae99d0b880e6d25f158125ad3adc6a05.zip
Revert "[SPARK-14014][SQL] Replace existing catalog with SessionCatalog"
This reverts commit 5dfc01976bb0d72489620b4f32cc12d620bb6260.
Diffstat (limited to 'python')
-rw-r--r--python/pyspark/sql/context.py2
1 files changed, 1 insertions, 1 deletions
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: