spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bryan Cutler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-23836) Support returning StructType to the level support in GroupedMap Arrow's "scalar" UDFS (or similar)
Date Tue, 03 Apr 2018 20:41:00 GMT

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

Bryan Cutler commented on SPARK-23836:
--------------------------------------

So does this mean returning a pandas.DataFrame in a scalar pandas udf?

> Support returning StructType to the level support in GroupedMap 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


Mime
View raw message