You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Takuya Ueshin (Jira)" <ji...@apache.org> on 2024/12/18 01:16:00 UTC
[jira] [Updated] (SPARK-50602) Transpose should show a proper error message when invalid index columns are specified
[ https://issues.apache.org/jira/browse/SPARK-50602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Takuya Ueshin updated SPARK-50602:
----------------------------------
Description:
{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}}.
> 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
> Priority: Major
>
> {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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org