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

Reply via email to