You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/06/20 07:43:05 UTC

[jira] [Commented] (SPARK-15989) PySpark SQL python-only UDTs don't support nested types

    [ https://issues.apache.org/jira/browse/SPARK-15989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15339114#comment-15339114 ] 

Apache Spark commented on SPARK-15989:
--------------------------------------

User 'viirya' has created a pull request for this issue:
https://github.com/apache/spark/pull/13778

> 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
>
> [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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org