You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "holdenk (JIRA)" <ji...@apache.org> on 2018/04/02 18:26:00 UTC

[jira] [Commented] (SPARK-23836) Support returning StructType & MapType in Arrow's "scalar" UDFS (or similar)

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