diff options
author | Reynold Xin <rxin@databricks.com> | 2015-06-03 00:23:34 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2015-06-03 00:23:34 -0700 |
commit | ce320cb2dbf28825f80795ce569735888f98d6e8 (patch) | |
tree | 020c2f7b8a0868fb0cc3bef50a284c4f06b8777b /python/pyspark/sql/tests.py | |
parent | 452eb82dd722e5dfd00ee47bb8b6353933b0016e (diff) | |
download | spark-ce320cb2dbf28825f80795ce569735888f98d6e8.tar.gz spark-ce320cb2dbf28825f80795ce569735888f98d6e8.tar.bz2 spark-ce320cb2dbf28825f80795ce569735888f98d6e8.zip |
[SPARK-8060] Improve DataFrame Python test coverage and documentation.
Author: Reynold Xin <rxin@databricks.com>
Closes #6601 from rxin/python-read-write-test-and-doc and squashes the following commits:
baa8ad5 [Reynold Xin] Code review feedback.
f081d47 [Reynold Xin] More documentation updates.
c9902fa [Reynold Xin] [SPARK-8060] Improve DataFrame Python reader/writer interface doc and testing.
Diffstat (limited to 'python/pyspark/sql/tests.py')
-rw-r--r-- | python/pyspark/sql/tests.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/pyspark/sql/tests.py b/python/pyspark/sql/tests.py index 76384d31f1..6e498f0af0 100644 --- a/python/pyspark/sql/tests.py +++ b/python/pyspark/sql/tests.py @@ -753,8 +753,10 @@ class HiveContextSQLTests(ReusedPySparkTestCase): try: cls.sc._jvm.org.apache.hadoop.hive.conf.HiveConf() except py4j.protocol.Py4JError: + cls.tearDownClass() raise unittest.SkipTest("Hive is not available") except TypeError: + cls.tearDownClass() raise unittest.SkipTest("Hive is not available") os.unlink(cls.tempdir.name) _scala_HiveContext =\ |