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

Sean Owen updated SPARK-15989:
------------------------------
    Assignee: Liang-Chi Hsieh

> PySpark SQL python-only UDTs don't support nested types
> -------------------------------------------------------
>
>                 Key: SPARK-15989
>                 URL: https://issues.apache.org/jira/browse/SPARK-15989
>             Project: Spark
>          Issue Type: Bug
>          Components: PySpark, SQL
>    Affects Versions: 2.0.0
>            Reporter: Vladimir Feinberg
>            Assignee: Liang-Chi Hsieh
>             Fix For: 2.0.1, 2.1.0
>
>
> [This 
> notebook|https://databricks-prod-cloudfront.cloud.databricks.com/public/4027ec902e239c93eaaa8714f173bcfc/6001574963454425/611202526513296/1653464426712019/latest.html]
>  demonstrates the bug.
> The obvious issue is that nested UDTs are not supported if the UDT is 
> Python-only. Looking at the exception thrown, this seems to be because the 
> encoder on the Java end tries to encode the UDT as a Java class, which 
> doesn't exist for the [[PythonOnlyUDT]].



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to