Github user HyukjinKwon commented on a diff in the pull request:
https://github.com/apache/spark/pull/20841#discussion_r175248095
--- Diff: python/pyspark/sql/tests.py ---
@@ -2504,6 +2504,10 @@ def test_conf(self):
spark.conf.unset("bogo")
self.assertEqual(spark.conf.get("bogo", "colombia"), "colombia")
+ self.assertRaisesRegexp(Exception, "hyukjin", lambda:
spark.conf.get("hyukjin"))
--- End diff --
@BryanCutler, so this test case prompt you. It's not related with this PR:
**Before**
```
>>> spark.conf.get("hyukjin")
...
: java.util.NoSuchElementException: hyukjin
...
```
**After**
```
>>> spark.conf.get("hyukjin")
...
: java.util.NoSuchElementException: hyukjin
...
```
Let me take this out.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]