karenfeng opened a new pull request #34202:
URL: https://github.com/apache/spark/pull/34202


   ### What changes were proposed in this pull request?
   
   Improves the quality of the error message encountered by users when they 
attempt to access a column that does not exist.
   Removes the lingo term "resolve" and sorts the suggestions by probability.
   
   ### Why are the changes needed?
   
   Improves the user experience
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes:
   
   Before:
   ```
   cannot resolve 'foo' given input columns [bar, baz, froo]
   ```
   After:
   ```
   Column 'foo' does not exist. Did you mean one of the following? [bar, baz, 
froo]
   ```
   
   ### How was this patch tested?
   
   Unit tests


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to