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 2023/04/05 03:05:00 UTC

[jira] [Assigned] (SPARK-42983) Fix the error message of createDataFrame from np.array(0)

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

Hyukjin Kwon reassigned SPARK-42983:
------------------------------------

    Assignee: Takuya Ueshin

> Fix the error message of createDataFrame from np.array(0)
> ---------------------------------------------------------
>
>                 Key: SPARK-42983
>                 URL: https://issues.apache.org/jira/browse/SPARK-42983
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Connect
>    Affects Versions: 3.4.0
>            Reporter: Takuya Ueshin
>            Assignee: Takuya Ueshin
>            Priority: Major
>
> {code:python}
> >>> import numpy as np
> >>> spark.createDataFrame(np.array(0))
> Traceback (most recent call last):
> ...
> TypeError: len() of unsized object
> {code}



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