Github user vlad17 commented on a diff in the pull request: https://github.com/apache/spark/pull/13778#discussion_r67894457 --- Diff: python/pyspark/sql/tests.py --- @@ -558,6 +558,18 @@ def check_datatype(datatype): _verify_type(PythonOnlyPoint(1.0, 2.0), PythonOnlyUDT()) self.assertRaises(ValueError, lambda: _verify_type([1.0, 2.0], PythonOnlyUDT())) + schema = StructType().add("key", LongType()).add("val", PythonOnlyUDT()) --- End diff -- This should be in its own test method - it's no longer merely a `test_udt` but rather a `test_simple_udt_in_df`.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org