You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xinrong Meng (Jira)" <ji...@apache.org> on 2021/05/24 18:21:00 UTC

[jira] [Updated] (SPARK-35452) Introduce ComplexTypeOps

     [ https://issues.apache.org/jira/browse/SPARK-35452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xinrong Meng updated SPARK-35452:
---------------------------------
    Description: 
StructType, ArrayType, and MapType are not accepted by DataTypeOps now.

We should handle these complex types.

Please note that arithmetic operations might be applied to these complex types, for example, ps.Series([[1,2,3]]) + ps.Series([[4,5,6]]) should work the same as pd.Series([[1,2,3]]) + pd.Series([[4,5,6]]).

  was:
StructType, ArrayType, MapType, and BinaryType are not accepted by DataTypeOps now.

We should handle these complex types.

Please note that arithmetic operations might be applied to these complex types, for example, ps.Series([[1,2,3]]) + ps.Series([[4,5,6]]) should work the same as pd.Series([[1,2,3]]) + pd.Series([[4,5,6]]).


> Introduce ComplexTypeOps
> ------------------------
>
>                 Key: SPARK-35452
>                 URL: https://issues.apache.org/jira/browse/SPARK-35452
>             Project: Spark
>          Issue Type: Sub-task
>          Components: PySpark
>    Affects Versions: 3.2.0
>            Reporter: Xinrong Meng
>            Priority: Major
>
> StructType, ArrayType, and MapType are not accepted by DataTypeOps now.
> We should handle these complex types.
> Please note that arithmetic operations might be applied to these complex types, for example, ps.Series([[1,2,3]]) + ps.Series([[4,5,6]]) should work the same as pd.Series([[1,2,3]]) + pd.Series([[4,5,6]]).



--
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