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 2020/12/29 05:20:00 UTC

[jira] [Commented] (SPARK-31937) Support processing array/map/struct type using spark noserde mode

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

Apache Spark commented on SPARK-31937:
--------------------------------------

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

> Support processing array/map/struct type using spark noserde mode
> -----------------------------------------------------------------
>
>                 Key: SPARK-31937
>                 URL: https://issues.apache.org/jira/browse/SPARK-31937
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: angerszhu
>            Priority: Major
>
> Currently, It is not supported to use script(e.g. python) to process array type or map type, it will complain with below message:
>  {{org.apache.spark.sql.catalyst.expressions.UnsafeArrayData cannot be cast to [Ljava.lang.Object}}
>  {{org.apache.spark.sql.catalyst.expressions.UnsafeMapData cannot be cast to java.util.Map}}
> To support it
>  
> https://github.com/apache/spark/pull/29085/commits/43d0f24f2c769dc270cf7e5fa2c5c13c32d0a631?file-filters%5B%5D=.scala



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org