You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Vitalii Li (Jira)" <ji...@apache.org> on 2022/08/23 02:18:00 UTC

[jira] [Created] (SPARK-40185) Remove column suggestion when the candidate list is empty for unresolved column/attribute/map key

Vitalii Li created SPARK-40185:
----------------------------------

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


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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org