Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.5.1, 3.4.3
-
None
-
None
Description
df.select(udf(lambda x: x, returnType=ExamplePointUDT(), useArrow=useArrow)("point")),
java.lang.AssertionError: assertion failed: Invalid schema from pandas_udf: expected org.apache.spark.sql.test.ExamplePointUDT@49ccc723, StructType(StructField(st,StructType(StructField(tt,TimestampType,true)),true)), got ArrayType(DoubleType,false)