You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2024/04/03 23:41:00 UTC

[jira] [Resolved] (SPARK-47700) Fix formatting of error messages with treeNode

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

Hyukjin Kwon resolved SPARK-47700.
----------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

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

> Fix formatting of error messages with treeNode
> ----------------------------------------------
>
>                 Key: SPARK-47700
>                 URL: https://issues.apache.org/jira/browse/SPARK-47700
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 4.0.0
>            Reporter: Jack Chen
>            Assignee: Jack Chen
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>
> Example: We are concatenating the plan without any separation: `in this locationFilter (dept_id#652`. We should add a colon and space or newline in between:
> {code:java}
> [UNSUPPORTED_SUBQUERY_EXPRESSION_CATEGORY.ACCESSING_OUTER_QUERY_COLUMN_IS_NOT_ALLOWED] Unsupported subquery expression: Accessing outer query column is not allowed in this locationFilter (dept_id#652 = outer(dept_id#646))
> +- SubqueryAlias dept
>    +- View (`DEPT`, [dept_id#652, dept_name#653, state#654])
>       +- Project [cast(dept_id#655 as int) AS dept_id#652, cast(dept_name#656 as string) AS dept_name#653, cast(state#657 as string) AS state#654]
>          +- Project [dept_id#655, dept_name#656, state#657]
>             +- SubqueryAlias DEPT
>                +- LocalRelation [dept_id#655, dept_name#656, state#657]
> . SQLSTATE: 0A000 {code}



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