Julian Shalaby created SPARK-35525: -------------------------------------- Summary: Define UDTs in schemas using string format Key: SPARK-35525 URL: https://issues.apache.org/jira/browse/SPARK-35525 Project: Spark Issue Type: New Feature Components: SQL Affects Versions: 3.1.1 Reporter: Julian Shalaby
In PySpark where UDTs are public in 3.1.1 for example, you can define a schema using UDTs in the format: schema = StructType([StructField("Stuff", MyUDT())]) but the format schema = "Stuff MyUDT" does not work. UDTs are officially being made public again in 3.2.0 for Scala, so this issue is pretty important now. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org