Details
Description
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.