allisonwang-db commented on code in PR #42161:
URL: https://github.com/apache/spark/pull/42161#discussion_r1275240003
##########
python/pyspark/sql/tests/test_udtf.py:
##########
@@ -487,6 +487,14 @@ def eval(self, x: int):
self.assertEqual(TestUDTF(lit(1)).collect(), [Row(x={1: "1"})])
+ def test_udtf_with_empty_output_types(self):
+ @udtf(returnType=StructType())
Review Comment:
This might be a related error:
```
pyspark.errors.exceptions.connect.SparkConnectGrpcException:
(org.apache.spark.sql.connect.common.InvalidPlanInput) Does not support convert
KIND_NOT_SET to catalyst types.
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]