Kimahriman commented on a change in pull request #29699:
URL: https://github.com/apache/spark/pull/29699#discussion_r487979351
##########
File path: python/pyspark/sql/tests/test_column.py
##########
@@ -139,6 +139,33 @@ def test_bitwise_operations(self):
result = df.select(functions.bitwiseNOT(df.b)).collect()[0].asDict()
self.assertEqual(~75, result['~b'])
+ def test_with_field(self):
Review comment:
I updated the test, changing the positive case to match the doc string
example, and added TypeError checks for the arguments. Did you want more
exception checking beyond that?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]