You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2021/05/26 06:31:00 UTC

[jira] [Updated] (SPARK-35525) Define UDTs in schemas using string format

     [ https://issues.apache.org/jira/browse/SPARK-35525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon updated SPARK-35525:
---------------------------------
    Target Version/s:   (was: 3.2.0)

> 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
>            Priority: Major
>              Labels: SparkSQL, UDF, UDT, schema
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org