Vladimir Feinberg created SPARK-15989: -----------------------------------------
Summary: 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 Affects Versions: 2.0.0 Reporter: Vladimir Feinberg Priority: Blocker [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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org