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

Takuya Ueshin resolved SPARK-50602.
-----------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

Issue resolved by pull request 49219
[https://github.com/apache/spark/pull/49219]

> Transpose should show a proper error message when invalid index columns are 
> specified
> -------------------------------------------------------------------------------------
>
>                 Key: SPARK-50602
>                 URL: https://issues.apache.org/jira/browse/SPARK-50602
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 4.0.0
>            Reporter: Takuya Ueshin
>            Assignee: Takuya Ueshin
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>
> {code:python}
> >>> df = spark.range(10).transpose(sf.col("id") + 1)
> Traceback (most recent call last):
> ...
> py4j.protocol.Py4JJavaError: An error occurred while calling o40.transpose.
> : org.apache.spark.SparkException: [INTERNAL_ERROR] Found the unresolved 
> operator: 'UnresolvedTranspose [unresolvedalias((id#0L + cast(1 as bigint)))] 
> SQLSTATE: XX000
> ...
> {code}
> It shouldn't show {{INTERNAL_ERROR}}.



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