You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2024/10/23 00:40:00 UTC
[jira] [Assigned] (SPARK-50050) Spark Connect should support empty ndarray
[ https://issues.apache.org/jira/browse/SPARK-50050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon reassigned SPARK-50050:
------------------------------------
Assignee: Ruifeng Zheng
> Spark Connect should support empty ndarray
> ------------------------------------------
>
> Key: SPARK-50050
> URL: https://issues.apache.org/jira/browse/SPARK-50050
> Project: Spark
> Issue Type: Improvement
> Components: Connect, PySpark
> Affects Versions: 4.0.0
> Reporter: Ruifeng Zheng
> Assignee: Ruifeng Zheng
> Priority: Major
> Labels: pull-request-available
>
>
> In [4]: spark.range(1).select(sf.lit(np.array([], np.int32))).schema
> Out[4]: StructType([StructField('array()', ArrayType(NullType(), False), False)])
>
> it should be ArrayType(IntegerType...)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org