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

ASF GitHub Bot updated SPARK-48248:
-----------------------------------
    Labels: pull-request-available  (was: )

> Fix nested array to respect legacy conf of inferArrayTypeFromFirstElement
> -------------------------------------------------------------------------
>
>                 Key: SPARK-48248
>                 URL: https://issues.apache.org/jira/browse/SPARK-48248
>             Project: Spark
>          Issue Type: Bug
>          Components: PySpark
>    Affects Versions: 4.0.0
>            Reporter: Hyukjin Kwon
>            Priority: Major
>              Labels: pull-request-available
>
> {code}
> >>> spark.conf.set("spark.sql.pyspark.legacy.inferArrayTypeFromFirstElement.enabled",
> >>>  True)
> >>> spark.createDataFrame([[[[1, "a"]]]])
> DataFrame[_1: array<array<string>>]
> {code}
> should infer it as an integer of array



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

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

Reply via email to