jlherzberg opened a new pull request #31999: URL: https://github.com/apache/spark/pull/31999
### What changes were proposed in this pull request? Adds names of columns returned by function to error message. Change suggested here http://apache-spark-user-list.1001560.n3.nabble.com/Error-Message-Suggestion-td39884.html ### Why are the changes needed? In the error message, the number of returned columns and number of expected columns are returned, but with the names of the actual columns returned, the error would be much more helpful and easier to debug. ### Does this PR introduce _any_ user-facing change? Users would see the changed error when developing. ### How was this patch tested? No new tests. Passes related tests on my machine. -- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
