[ 
https://issues.apache.org/jira/browse/SPARK-40185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17583298#comment-17583298
 ] 

Apache Spark commented on SPARK-40185:
--------------------------------------

User 'vitaliili-db' has created a pull request for this issue:
https://github.com/apache/spark/pull/37621

> Remove column suggestion when the candidate list is empty for unresolved 
> column/attribute/map key
> -------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-40185
>                 URL: https://issues.apache.org/jira/browse/SPARK-40185
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.4.0
>            Reporter: Vitalii Li
>            Priority: Major
>
> For unresolved column, attribute or map key an error message might contain 
> suggestions from the list. However, when the list is empty the error message 
> looks incomplete:
> `[UNRESOLVED_COLUMN] A column or function parameter with name 'YrMo' cannot 
> be resolved. Did you mean one of the following? []`
> This issue is to make final suggestion to show only if suggestion list is non 
> empty.



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