[
https://issues.apache.org/jira/browse/SPARK-44291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Herman van Hövell resolved SPARK-44291.
---------------------------------------
Fix Version/s: 3.5.0
Assignee: Niranjan Jayakar
Resolution: Fixed
> [CONNECT][SCALA] range query returns incorrect schema
> -----------------------------------------------------
>
> Key: SPARK-44291
> URL: https://issues.apache.org/jira/browse/SPARK-44291
> Project: Spark
> Issue Type: Bug
> Components: Connect
> Affects Versions: 3.4.1
> Reporter: Niranjan Jayakar
> Assignee: Niranjan Jayakar
> Priority: Major
> Fix For: 3.5.0
>
>
> The following code on Spark Connect produces the following output
> Code:
>
> {code:java}
> val df = spark.range(3)
> df.show()
> df.printSchema(){code}
>
> Output:
> {code:java}
> +---+
> | id|
> +---+
> | 0|
> | 1|
> | 2|
> +---+
> root
> |-- value: long (nullable = true) {code}
> The mismatch is that one shows the column as "id" while the other shows this
> as "value".
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]