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

Ruifeng Zheng updated SPARK-54938:
----------------------------------
    Description: 
Test the inferred datatype like
{code:java}
 
a = pa.array([None])
a = pa.array([1,2,3])
a = pa.array([1,2,3,None])
a = pa.array([1, "x"])
a = pa.array(pd.Series([1,2,3]))
a = pa.array(np.array([1,2,3])){code}
 

  was:
Test the inferred datatype like
{code:java}
 
a = pa.array([None])
a = pa.array([1,2,3])
a = pa.array([1,2,3,None])
a = pa.array([1, "x"]){code}
 


> Add tests for pa.array type inference
> -------------------------------------
>
>                 Key: SPARK-54938
>                 URL: https://issues.apache.org/jira/browse/SPARK-54938
>             Project: Spark
>          Issue Type: Sub-task
>          Components: PySpark, Tests
>    Affects Versions: 4.2.0
>            Reporter: Ruifeng Zheng
>            Priority: Major
>
> Test the inferred datatype like
> {code:java}
>  
> a = pa.array([None])
> a = pa.array([1,2,3])
> a = pa.array([1,2,3,None])
> a = pa.array([1, "x"])
> a = pa.array(pd.Series([1,2,3]))
> a = pa.array(np.array([1,2,3])){code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to