[ https://issues.apache.org/jira/browse/SPARK-23836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16422922#comment-16422922 ]
holdenk commented on SPARK-23836: --------------------------------- [~hyukjin.kwon] its a good question, that one seems to be more just adding support for them, but we already have support for Struct / Map types its just we don't have it in the Scalar transformation. Personally I'd make them linked JIRAs but not a sub issue. Does that sound reasonable? > Support returning StructType & MapType in Arrow's "scalar" UDFS (or similar) > ---------------------------------------------------------------------------- > > Key: SPARK-23836 > URL: https://issues.apache.org/jira/browse/SPARK-23836 > Project: Spark > Issue Type: Improvement > Components: PySpark > Affects Versions: 2.4.0 > Reporter: holdenk > Priority: Major > > Currently not all of the supported types can be returned from the scalar > pandas UDF type. This means if someone wants to return a struct type doing a > map operation right now they either have to do a "junk" groupBy or use the > non-vectorized results. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org